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

83 Commits

Author SHA1 Message Date
joshvera
4fceda482d Add a switch case to termToDiffInfo 2016-06-15 15:58:08 -07:00
joshvera
8e32dea21c Not using this 2016-06-15 15:57:55 -07:00
joshvera
212c0cc1a8 Add Case/Switch to toTermName 2016-06-15 15:51:17 -07:00
joshvera
2465fbe847 s/var declaration/variable 2016-06-15 15:09:44 -07:00
joshvera
c3e8f9b22f Add Args/VarDecl/VarAssignment cases to termToDiffInfo 2016-06-15 11:16:07 -07:00
joshvera
fe49717acd Add VarAssignment/VarDecl/Args cases to diffSummary 2016-06-15 11:15:46 -07:00
joshvera
ccff70b6f6 Add Args/VarAssignment/VarDecl to HasCategory Category instance 2016-06-15 11:15:29 -07:00
joshvera
602ee1ab6c Add Args case to toTermName 2016-06-15 11:15:09 -07:00
Rick Winfrey
a726ab5a73 Add support for Regex TreeSitter productions 2016-06-15 11:09:52 -05:00
Rick Winfrey
b3799b5191 Add TemplateString toCategoryName case 2016-06-15 10:39:18 -05:00
Rick Winfrey
30e4209fed CBA -> ABC 2016-06-15 10:06:13 -05:00
joshvera
8b0e7b57d4 formatting 2016-06-14 17:48:04 -07:00
joshvera
6c3216533d Add VarDecl/VarAssignment to toTermName 2016-06-14 17:47:51 -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
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
51c2b0a484 Add MethodCall cases to DiffSummary 2016-06-14 09:07:14 -07:00
joshvera
02b504fddc Add MethodCall diff summary case 2016-06-14 09:06: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
5c45210eed Add DiffSummary Assignment cases 2016-06-13 16:32:00 -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
ed1314b4d7 Add more mappings 2016-06-10 15:24:37 -04:00
joshvera
d20937f2b1 Parse functions 2016-06-10 15:10:37 -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
joshvera
fba6184448 Add FunctionCall cases to DiffSummary module 2016-06-09 15:50:36 -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
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
joshvera
ad02f1f560 Remove test 2016-06-06 19:58:12 -04:00
joshvera
1b03cb7227 change them to Text 2016-06-06 19:41:07 -04:00
joshvera
2b1333aa09 extract multiple diffs from pure indexed nodes 2016-06-06 15:45:44 -04:00
joshvera
f61f9675ae Convert to function call 2016-06-06 14:56:28 -04:00
Rob Rix
10b424cd47 Add an Error category. 2016-06-03 18:37:40 -04:00
Rob Rix
83b57fc643 Add a Category for the top-level scope. 2016-06-03 18:34:42 -04:00
Rob Rix
7802d4916c 🔥 FlexibleInstances & RecordWildCards pragmas. 2016-06-03 16:02:06 -04:00
Rob Rix
43757e8a61 🔥 Categorizable.
This reverts commit be59b0c161362baae63308478177819828be7e1b.
2016-06-02 19:10:41 -04:00
Rob Rix
4ea9eba71c Merge branch 'master' into render-diff-summaries-as-json 2016-06-01 16:23:39 -04:00
joshvera
0244e9a929 Store a category in Info instead of a Set 2016-05-31 16:13:01 -04:00
Rob Rix
f8ae53d2df DiffSummary’s type parameter is no longer phantom. 2016-05-31 16:11:11 -04:00
joshvera
a2c76a0ddc fmap toCategoryName . toCategory over the head of children 2016-05-26 14:49:47 -04:00
joshvera
1245f3361a We just say extract 2016-05-26 14:08:26 -04:00
joshvera
ebd5d20171 Remove duplicate imports 2016-05-26 14:04:27 -04:00
joshvera
b1f9cc4a4a Remove DiffF type synonym 2016-05-26 13:46:33 -04:00
joshvera
cbf09d19b9 s/categoryName/toCategoryName value/termName 2016-05-24 13:06:15 -04:00