- change "base" branch of this PR: master => 3.4 (use "Edit" button near PR title)
- rebase your commits from master onto 3.4 branch. For example:
- git rebase -i --onto upstream/3.4 upstream/master
- push rebased commits into source branch of your fork (with --force option)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tar --exclude='./.git' --exclude='./node_modules' -zcvf ../project-foo.tgz . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Project from "ts-simple-ast"; | |
| const project = new Project({ useVirtualFileSystem: true }); | |
| const file = project.createSourceFile("src/a.ts", ` | |
| export class A { | |
| method1(msg: string): string { | |
| return "hello " + name; | |
| } | |
| }`); | |
| file.getClassOrThrow("A").getMembers().forEach(m => console.log(m.getKindName())); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| asciinema rec -t "typescript-ast-explorer cast 1" ../Documents/test4.cast | |
| svg-term --in ../Documents/test4.cast --out demo3.sv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * CSS like attribute parsing. | |
| * | |
| * Parses strings like | |
| `comp[name=myComp] > layer[name=myLayer light=true selected]` to objects. | |
| `.cl #id>[name=123]` | |
| */ |
OlderNewer