1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
Commit Graph

6834 Commits

Author SHA1 Message Date
joshvera
086466ab88 Add MethodCall cases to Renderer 2016-06-14 09:03:43 -07:00
joshvera
baa6c7a92f dots 2016-06-14 09:03:43 -07:00
Rick Winfrey
c027cfc6ba Add toTermName support for member access nodes containing function calls 2016-06-13 17:34:35 -05:00
Rick Winfrey
52863cc4e6 Construct DiffInfo for member access children 2016-06-13 17:34:07 -05:00
Rick Winfrey
b7f58cb89e Move assignment tree sitter production 2016-06-13 17:33:17 -05:00
Rick Winfrey
8e68a9de37 Add MemberAccess production matching for TreeSitter 2016-06-13 17:33:01 -05:00
Rick Winfrey
99cb26a809 Improve documentation for Assignment Syntax 2016-06-13 17:32:41 -05:00
Rick Winfrey
b07955872b Add Syntax MemberAccess 2016-06-13 17:32:23 -05:00
Rick Winfrey
2c613457d0 Add construction for Syntax.MemberAccess 2016-06-13 17:32:04 -05:00
Rick Winfrey
6024182b40 Add MemberAccess Category 2016-06-13 17:31:45 -05:00
Rick Winfrey
6eea045aee Updating js-test submodule pin 2016-06-13 17:13:24 -05:00
Rick Winfrey
8b3d09a705 Add default category name for Assignment tree sitter terms 2016-06-13 16:32:57 -05:00
Rick Winfrey
b5905ddbf5 Add Parser support for Assignment category, and construct Assignment Syntax nodes 2016-06-13 16:32:36 -05:00
Rick Winfrey
4806d975eb Add Assignment Syntax 2016-06-13 16:32:08 -05:00
Rick Winfrey
5c45210eed Add DiffSummary Assignment cases 2016-06-13 16:32:00 -05:00
Rick Winfrey
17d72761ec Add Assignment category 2016-06-13 16:31:32 -05:00
joshvera
bd48f58478 Added a split-test to js-test 2016-06-10 18:56:32 -04:00
joshvera
41de1b69a3 Add zipUnwrap cases for FunctionCall and Function 2016-06-10 18:56:04 -04:00
joshvera
68c6e40fc3 ++js-test 2016-06-10 17:02:01 -04:00
joshvera
c229d43934 Fix DiffSummary tests
now that parentAnnotations are Categories
2016-06-10 16:42:11 -04:00
joshvera
9dfd271186 Add Identifier case to styleName 2016-06-10 16:41:48 -04:00
Rick Winfrey
9ec08a7d2e Update js-test submodule to contain correct shas 2016-06-10 15:22:51 -05:00
Rick Winfrey
c3d50a7fda Update term name of anonymous functions
When outputting an anonymous function summary, previously we output:

Added the 'anonymous function' function

This patch updates the term name so we don't duplicate the function category:

Added the 'anonymous' function
2016-06-10 15:01:32 -05:00
joshvera
80ac6fd3e4 Construct Functions that only have an identifier and a body 2016-06-10 15:25:09 -04:00
joshvera
ed1314b4d7 Add more mappings 2016-06-10 15:24:37 -04:00
joshvera
6bccfb7d2a Map more categories to Categories 2016-06-10 15:20:13 -04:00
joshvera
fe270e5072 Pattern match on the right info in isIdentifier 2016-06-10 15:19:58 -04:00
joshvera
44dec2aa53 Add Identifier 2016-06-10 15:19:29 -04:00
joshvera
4a5f2546b1 Add Params and ExpressionStatements categories 2016-06-10 15:10:50 -04:00
joshvera
d20937f2b1 Parse functions 2016-06-10 15:10:37 -04:00
joshvera
4257f7a46f Add a Function case to alignSyntax 2016-06-10 13:34:19 -04:00
joshvera
1a7a0e1388 Add a Free Function case to DiffSummary
And carry identifier diff summaries up the cata as well.
2016-06-10 13:34:19 -04:00
joshvera
91bf955125 Add a Function constructor to Syntax 2016-06-10 13:34:19 -04:00
Rick Winfrey
129ece7820 Add test/repos/js-test submodule 2016-06-10 12:26:37 -05:00
joshvera
4e299985e7 fix FunctionCall case in Term.Arbitrary 2016-06-09 15:50:47 -04:00
joshvera
fba6184448 Add FunctionCall cases to DiffSummary module 2016-06-09 15:50:36 -04:00
joshvera
f0870e68a0 Add FunctionCall to Diff.shrink 2016-06-09 15:45:11 -04:00
joshvera
ab699524c6 Add FunctionCall case to shrink 2016-06-09 15:43:54 -04:00
Rick Winfrey
7ca44b9844 Add FunctionCall case to DiffSummary cata 2016-06-09 14:35:20 -05:00
Rick Winfrey
0a13b664a7 Add FunctionCall case to termToDiffInfo 2016-06-08 17:14:55 -05:00
Rick Winfrey
43def99532 Add FunctionCall case to alignSyntax 2016-06-08 17:06:35 -05:00
Rick Winfrey
3cbdf8f7a9 Add FunctionCall case to termFields 2016-06-08 16:49:45 -05:00
Rick Winfrey
accaeb3429 Add FunctionCall toMarkup instance 2016-06-08 16:45:02 -05:00
Rick Winfrey
1f614c03bd Disambiguate FunctionCall 2016-06-08 16:20:32 -05:00
Rick Winfrey
6e1ead9ba7 Add FuncationCall case to termConstructor 2016-06-08 16:19:42 -05:00
Rick Winfrey
b1ac37774b Add FunctionCall Syntax constructor 2016-06-08 16:18:54 -05:00
Rick Winfrey
0050e03305 Scope Category.FunctionCall 2016-06-08 16:18:30 -05:00
joshvera
f718354cda Explode branch terms to arrays of DiffInfo 2016-06-08 15:18:44 -04:00
joshvera
99a8f3ec8c Change termName to Text 2016-06-08 14:50:33 -04:00
joshvera
f7fc7afc40 Change parentAnnotations to a list of categories 2016-06-08 14:46:38 -04:00