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

8667 Commits

Author SHA1 Message Date
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
joshvera
fb8b0a8543 Add comma_operator split Category 2016-09-06 19:29:14 -04:00
joshvera
e7e4899691 Run SES before RWS 2016-09-06 18:03:30 -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
joshvera
ca9eca1cf8 Remove Comment 2016-09-01 19:22:14 -04:00
joshvera
d16cdefe34 Keep a hash for every node instead of a vector 2016-09-01 16:58:24 -04:00
joshvera
daba1fb2ef Drop equal terms before running rws 2016-09-01 15:41:09 -04:00
joshvera
a809a95c81 Annotate terms with hashes and stick the terms in a priority queue 2016-09-01 15:01:40 -04:00
joshvera
44892e4761 Use naive hash function for now 2016-09-01 14:33:24 -04:00
joshvera
271cb702e6 export hashDecorator 2016-09-01 14:31:23 -04:00
joshvera
b26e445081 Move pqGramDecorator under featureVectorDecorator 2016-09-01 13:04:02 -04:00
joshvera
bc5283cb53 Move unitVector under featureVectorDecorator 2016-09-01 13:03:25 -04:00
joshvera
7708985f12 Add hashDecorator 2016-09-01 13:02:05 -04:00
joshvera
2723b657a4 Derive Hashable for SourcePos, SourceSpan, and Syntax 2016-09-01 12:10:35 -04:00
Rick Winfrey
2ad87cd022 🔥 extra space 2016-08-31 16:57:32 -05:00
joshvera
05ab760f14 Add notes for xydiff + RWS 2016-08-31 16:20:38 -04: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
joshvera
c6d09043e8 Merge remote-tracking branch 'origin/master' into rws-large-diffs 2016-08-26 15:51:19 -04: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
c297aef9ac ++tree-sitter-parsers for async/await and import statements 2016-08-26 14:50:59 -04: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
Rob Rix
d1e3b660a7 Construct do/while statements. 2016-08-25 18:14:24 -04:00
Rob Rix
d9c3a8a368 Construct while statements. 2016-08-25 18:14:18 -04:00