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

7011 Commits

Author SHA1 Message Date
joshvera
2e87924f82 formatting 2016-06-14 15:46:26 -07:00
joshvera
ba0f6a2123 Remove If for now 2016-06-14 15:45:01 -07:00
joshvera
cc8c5708b3 Import Syntax qualified in Parser 2016-06-14 14:59:46 -07:00
joshvera
e817175173 Add MemberAccess and If to Diff.Arbitrary 2016-06-14 14:59:11 -07:00
joshvera
2e0f10d4cb Add an If Syntax constructor 2016-06-14 14:49:03 -07:00
joshvera
deeffc8e3b Qualify Syntax and remove Category comparison functions in Parser 2016-06-14 14:48:46 -07:00
joshvera
7e5866d038 Add an If expression 2016-06-14 14:48:07 -07:00
joshvera
c839aace33 Args docs 2016-06-14 14:37:02 -07:00
joshvera
e56b8268f1 ++js-test 2016-06-14 14:20:37 -07:00
joshvera
c4de347ef7 what happens if we run out of vertical space? 2016-06-14 14:04:27 -07:00
joshvera
a911515456 Pattern match functions in MethodCalls better in toTermName 2016-06-14 14:01:52 -07:00
joshvera
a0f415dece ++js-test 2016-06-14 14:01:27 -07:00
joshvera
45be0bc7ac Map productions to Category.Args 2016-06-14 13:51:34 -07:00
joshvera
5a65983280 Update the MethodCall category when returning a cofree from termConstructor 2016-06-14 13:51:21 -07:00
joshvera
e5c73428ce Call toTermName on MethodCall in termToDiffInfo 2016-06-14 13:50:54 -07:00
joshvera
d00f59e2cb Use unwrap in toTermName 2016-06-14 13:50:34 -07:00
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