1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 02:44:36 +03:00
Commit Graph

8619 Commits

Author SHA1 Message Date
joshvera
6c09ff32be Add comma_operator split Category 2016-09-07 15:00:49 -07:00
Rick Winfrey
4f3af677e6 Merge pull request #777 from github/display-function-call-args
Show args for function call / method call diff summaries
2016-09-07 16:36:37 -05:00
Rick Winfrey
e9ccabfc42 Merge pull request #795 from github/enhance-test-case-generator
Enhance test case generator
2016-09-07 16:32:19 -05:00
Rob Rix
1e9785fc67 Add a fallback term constructor for other languages. 2016-09-07 15:14:20 -04:00
Rob Rix
a1be4c2841 Map C productions into terms using a term constructor. 2016-09-07 15:11:55 -04:00
Rob Rix
cccd9e9cc6 Stub in a term constructor for C. 2016-09-07 15:10:49 -04:00
Rob Rix
fe7b83663a Handle all the for statements in a single case. 2016-09-07 14:19:54 -04:00
Rob Rix
7a61659b5c Support for_statement. 2016-09-07 14:17:23 -04:00
Rob Rix
c1f0854962 Handle the terminal comma operator case correctly. 2016-09-07 13:48:00 -04:00
Rob Rix
a01f704d6b Resume setting the category on variable declarations. 2016-09-07 13:36:34 -04:00
Rob Rix
c194d4578a Select the term constructor using the language. 2016-09-07 13:00:59 -04:00
Rob Rix
13527a035c 🔥 the old termConstructor function. 2016-09-07 12:25:09 -04:00
Rob Rix
baacee4ef9 Add operator support back in. 2016-09-07 12:11:21 -04:00
Rob Rix
9750b252ed Rename the term constructor for JS. 2016-09-07 11:57:24 -04:00
Rob Rix
0c0a67ba65 Move javascriptTermConstructor into its own module. 2016-09-07 11:56:28 -04:00
Rob Rix
64edd14b1d Stub in a module for JS-specific stuff. 2016-09-07 11:50:41 -04:00
Rob Rix
bd7fab0cd8 🔥 defaultCategoryForNodeName. 2016-09-07 10:31:58 -04:00
Rob Rix
18bcc8bd0c 🔥 categoriesForLanguage. 2016-09-07 10:31:52 -04:00
Rob Rix
71272090af Merge branch 'master' into abstract-term-construction-out-of-parsing 2016-09-07 10:30:48 -04:00
Rob Rix
8fca7294d9 Don’t change the category in toVarDecl. 2016-09-07 09:16:41 -04:00
Rick Winfrey
0d041ed3f4 Use statically linked text-icu 2016-09-06 16:51:24 -05:00
Rick Winfrey
59ee8eb002 Update constructor-call JSONTestCases 2016-09-06 16:07:21 -05:00
Rick Winfrey
fb8011e552 Merge branch 'enhance-test-case-generator' into display-function-call-args 2016-09-06 10:38:20 -05:00
Rick Winfrey
1670fc9640 Merge branch 'master' into enhance-test-case-generator 2016-09-06 10:33:52 -05:00
Rick Winfrey
2ad87cd022 🔥 extra space 2016-08-31 16:57:32 -05:00
Rick Winfrey
a78a9be087 Move args smart constructor function to Arguments module 2016-08-31 15:11:33 -05:00
Rick Winfrey
b07d4d2cdf Extract Arguments to its own module 2016-08-31 13:09:41 -05:00
Rick Winfrey
dbd118d734 Merge branch 'master' into display-function-call-args 2016-08-26 18:15:12 -05:00
Rick Winfrey
fdd56cc67d 🔥 hasIdentity and dependency on Category
We should use Syntax because we cannot guarantee that a given term’s
category will always match or correspond with its Syntax.

We also plan to move away from using Category all together, and relying
on Category here would only add more more work for us in the future.
2016-08-26 17:59:26 -05:00
Rick Winfrey
bf888f52f9 Add newlines for easier readability (and easier vim'ing) 2016-08-26 17:57:48 -05:00
Rob Rix
26f8f8c5d5 Merge pull request #783 from github/remove-for-statement-bodies
Remove bodies from for statement diff summaries
2016-08-26 15:49:55 -04:00
Rick Winfrey
0c82459b84 Reuse identifiable constructor function for prependSummary 2016-08-26 14:43:55 -05:00
Rick Winfrey
4f2ec3c00d Update method call syntax terms to use toArgName when determining term names 2016-08-26 14:43:31 -05:00
Rick Winfrey
e8d3132696 Add identifiable constructor function 2016-08-26 14:42:25 -05:00
Rick Winfrey
8bda7645ee Add Identifiable data type 2016-08-26 14:42:09 -05:00
joshvera
1d7bd1777e Don't drop summaries from a Commented node's child term 2016-08-26 12:42:01 -04:00
Rob Rix
f7afd71f80 Merge branch 'master' into remove-for-statement-bodies 2016-08-26 11:46:50 -04:00
Timothy Clem
5e0ce1d9dd Merge pull request #785 from github/statically-link-icu-on-osx
Statically link icu on osx
2016-08-26 08:03:20 -07:00
Timothy Clem
dcce287467 Merge branch 'master' into statically-link-icu-on-osx 2016-08-26 08:00:50 -07:00
Timothy Clem
24cb9f8d94 No more os(darwin) specific options 2016-08-25 15:54:55 -07:00
Rick Winfrey
986d88e540 Add toArgName for function call args 2016-08-25 17:48:00 -05:00
Rob Rix
b5534682a8 Construct in javascriptTermConstructor. 2016-08-25 18:20:40 -04:00
Rob Rix
a32d410e8d Construct method calls with the appropriate category name. 2016-08-25 18:15:21 -04:00
Rob Rix
0412660a68 Construct errors. 2016-08-25 18:15:09 -04:00
Rob Rix
7f122d357d Construct classes. 2016-08-25 18:15:04 -04:00
Rob Rix
b54ddad3ab Construct method definitions. 2016-08-25 18:15:00 -04:00
Rob Rix
5573a4104d Construct array literals. 2016-08-25 18:14:52 -04:00
Rob Rix
92b9ccf318 Construct try/catch/finally statements. 2016-08-25 18:14:46 -04:00
Rob Rix
2b9fd26641 Construct constructors. 2016-08-25 18:14:34 -04:00
Rob Rix
f3609ce45a Construct throw statements. 2016-08-25 18:14:28 -04:00