1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +03:00
Commit Graph

11267 Commits

Author SHA1 Message Date
Rob Rix
957aa324a3 Merge branch 'master' into typescript 2017-03-30 14:32:22 -04:00
Rick Winfrey
fc71b863e1 Merge pull request #1039 from github/update-parse-command
Update ParseCommand
2017-03-30 11:31:34 -07:00
Rick Winfrey
f09e741936 Improve readability of buildParseNodes 2017-03-30 11:12:30 -07:00
Rick Winfrey
d18c2375cf Swap return for pure 2017-03-30 10:56:42 -07:00
Rick Winfrey
278a459389 Refactor O(n) check in term decorator to O(1) per execution 2017-03-30 10:56:42 -07:00
Rick Winfrey
679ba2ec1c Rename buildProgramNodes -> buildParseNodes 2017-03-29 17:22:03 -07:00
Rick Winfrey
4092b0aa0f 👋 DeriveAnyClass, ScopedTypeVariables, it was fun tho 2017-03-29 17:16:38 -07:00
Rick Winfrey
d54ec5c1b9 SExpression doesn't need term decoration, just parse 2017-03-29 17:02:55 -07:00
Rick Winfrey
ef28affa57 📝 correct comment 2017-03-29 17:01:47 -07:00
Rick Winfrey
374636aa47 📝 2017-03-29 16:53:26 -07:00
Rick Winfrey
73103f4e22 Extract sourceBlobsFromSha to top level 2017-03-29 16:53:18 -07:00
Rick Winfrey
9cbfd08133 📝 identifierFor 2017-03-29 16:52:53 -07:00
Rick Winfrey
b06bf6962d Update name sourceBlobs -> sourceBlobsFromArgs 2017-03-29 16:52:30 -07:00
Rick Winfrey
83e0600b65 Bind over parseWithDecorator 2017-03-29 16:33:08 -07:00
Rick Winfrey
7e2d5354e9 🔥 ' 2017-03-29 16:05:50 -07:00
Rick Winfrey
f05a991b88 I committed it even when I said I wouldn't 😆 2017-03-29 15:05:30 -07:00
Rick Winfrey
0283e7c574 Refactor ParseJSON -> ParseTreeFile, IndexFile, and ParseNode 2017-03-29 15:02:55 -07:00
Josh Vera
aeb8ef33c8 Merge branch 'master' into typescript 2017-03-29 17:06:22 -04:00
joshvera
7f568e8286 Update javascript tests since we parse JS with typescript now 2017-03-29 17:06:10 -04:00
joshvera
289f35da9a Parse js as typescript 2017-03-29 16:59:14 -04:00
joshvera
5339bd5ca8 add newlines 2017-03-29 16:56:25 -04:00
joshvera
b5f9938279 Remove ty from Method and throw every part of a call signature into a list 2017-03-29 16:24:54 -04:00
joshvera
89f307edf0 Don't pop off Params/Args from S.Function since type arguments can appear before or return types can appear after in some languages 2017-03-29 16:03:28 -04:00
Rick Winfrey
3bec2b5381 Merge branch 'update-parse-command' of github.com:github/semantic-diff into update-parse-command 2017-03-29 12:41:27 -07:00
Rick Winfrey
82431ce34b Use <=< to simplify parseSExpression 2017-03-29 12:41:08 -07:00
Rick Winfrey
106a9e84e1 Extracts casing on commit sha to a single function 2017-03-29 12:06:19 -07:00
Rick Winfrey
364d3210df Specify buildProgramNodes type annotation (make less general) 2017-03-29 12:05:26 -07:00
Rick Winfrey
9c636ed13c Merge branch 'master' into update-parse-command 2017-03-29 11:10:12 -07:00
Rick Winfrey
7f89a97761 📦 🆕 🏠 2017-03-29 11:05:41 -07:00
Rick Winfrey
c617fce3b1 Simplify parseSExpression 2017-03-29 11:04:59 -07:00
Rob Rix
497251094a Merge pull request #1052 from github/batch-copy-terms
Batch copy terms
2017-03-29 13:54:26 -04:00
Rick Winfrey
89f64631eb For now, represent all other formats as ParseTree when --parse option is used 2017-03-29 10:37:29 -07:00
Rick Winfrey
9e5225f9b5 Inline function 2017-03-29 10:33:32 -07:00
Rick Winfrey
76cc740a06 🔥 unnecessary do's 2017-03-29 10:33:18 -07:00
Rick Winfrey
de81a18d6c Let default case represent ParseTree 2017-03-29 10:28:06 -07:00
Rick Winfrey
770a3001ed 🔥 unnecessary function wrapper 2017-03-29 10:27:42 -07:00
Rick Winfrey
33d9897cb8 Rename 2017-03-29 10:23:10 -07:00
Rick Winfrey
e79bf05d33 Update parseTree to use generic buildProgramNodes 2017-03-29 10:23:00 -07:00
Rick Winfrey
68c2d647d4 Add generic buildProgramNodes function 2017-03-29 10:18:38 -07:00
Rick Winfrey
661e26cf82 Extract identifierFor to top level 2017-03-29 10:18:15 -07:00
joshvera
cdbd260b0f Remove type from Function and unpack call signatures 2017-03-29 12:36:05 -04:00
joshvera
d8be8b8d12 ++tree-sitter-typescript 2017-03-29 12:27:09 -04:00
joshvera
d6334ac5a4 Update function call tests 2017-03-29 11:15:56 -04:00
joshvera
2aa8a08e55 🔥 \case 2017-03-29 10:28:13 -04:00
joshvera
799ced32c5 Merge remote-tracking branch 'origin/batch-copy-terms' into typescript 2017-03-29 10:18:02 -04:00
joshvera
461b1c665b Merge remote-tracking branch 'origin/master' into typescript 2017-03-29 10:17:53 -04:00
Rob Rix
f516f34b4a Merge branch 'master' into batch-copy-terms 2017-03-28 23:09:29 -04:00
Rick Winfrey
2145baf506 Extract separate parse render functions 2017-03-28 18:49:45 -07:00
Rick Winfrey
cf4c242517 📝 why we never decorate with SourceText for SExpression parse output 2017-03-28 18:49:45 -07:00
Rick Winfrey
e4629cf40b Higher order decorator 2017-03-28 18:49:45 -07:00