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

6845 Commits

Author SHA1 Message Date
joshvera
41feb9e6e1 Add Assignment and Syntax cases to Diff.Arbitrary 2016-06-14 13:30:09 -07:00
joshvera
835c06ce9a Add Assignment and MemberAccess cases to Renderer.JSON 2016-06-14 11:28:21 -07:00
joshvera
52992e5ee8 Prefix Args 2016-06-14 11:28:09 -07:00
joshvera
70cc97480b s/Singletone/singleton 2016-06-14 11:27:59 -07:00
joshvera
4b52268f94 Add Assignment, MemberAccess, MethodCall, Args cases to alignSyntax 2016-06-14 11:27:48 -07:00
joshvera
307cdda0de Add cases for methods and args 2016-06-14 09:53:35 -07:00
joshvera
a3b3bee219 Remove comment 2016-06-14 09:13:24 -07:00
joshvera
51c2b0a484 Add MethodCall cases to DiffSummary 2016-06-14 09:07:14 -07:00
joshvera
02b44bf12d Add MethodCall cases to Term.Arbitrary and Diff.Aribitrary 2016-06-14 09:06:43 -07:00
joshvera
02b504fddc Add MethodCall diff summary case 2016-06-14 09:06:43 -07:00
joshvera
2ba33189c4 Add MethodCall cases to Syntax and Category 2016-06-14 09:06:08 -07:00
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