1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00
Commit Graph

8156 Commits

Author SHA1 Message Date
joshvera
da0f21a07f Relax For constraint to take a list of clauses 2016-07-28 16:18:30 -04:00
joshvera
bb5b54d847 ++js-test 2016-07-28 14:49:29 -04:00
joshvera
4710cf94ea Map leaves with Return categories to Return Nothing 2016-07-28 14:49:07 -04:00
joshvera
d057e156cd Add Return case to Syntax 2016-07-28 14:34:53 -04:00
joshvera
5caa439bec ++js-test 2016-07-28 14:29:24 -04:00
joshvera
8b4de1e63a Label the DoWhile terms correctly 2016-07-28 14:26:42 -04:00
joshvera
776444d64a Print the right expression in a DoWhile 2016-07-28 14:26:17 -04:00
joshvera
5780015278 ++js-test 2016-07-28 14:26:02 -04:00
joshvera
7eac130089 Add DoWhile and While cases 2016-07-28 14:08:34 -04:00
joshvera
951617ff5e Add For cases to categoriesForLanguage and defaultCategoryForNodeName 2016-07-28 13:50:43 -04:00
joshvera
4678805bb1 Add a For case to Syntax 2016-07-28 13:50:20 -04:00
joshvera
8c52bf91b5 Add a For case to styleName 2016-07-28 13:50:08 -04:00
joshvera
bb373e8e42 Add a For case to termConstructor 2016-07-28 13:49:48 -04:00
joshvera
bda9e4528c Add a For case to diffSummary 2016-07-28 13:49:38 -04:00
joshvera
b7f1d033c5 Add a For case to toTermName 2016-07-28 13:49:21 -04:00
joshvera
534de558f0 Add a For category 2016-07-28 13:48:44 -04:00
joshvera
c11d955f57 Add comments 2016-07-28 11:24:19 -04:00
joshvera
8b0f496b90 Merge remote-tracking branch 'origin/master' into error-syntax 2016-07-27 19:00:27 -04:00
joshvera
c8e284b1d9 attribute SourceSpan credit to purescript 2016-07-27 18:56:20 -04:00
joshvera
ba7d599aa3 Add SourceSpan to tests 2016-07-27 18:49:21 -04:00
joshvera
e3ccbca5ae print filename at the end 2016-07-27 18:23:52 -04:00
joshvera
bf9e385448 Print the source span when printing error node diff summaries 2016-07-27 18:18:55 -04:00
joshvera
c7d7ee51aa Keep track of source spans 2016-07-27 18:11:55 -04:00
joshvera
2bd4e0993a ++tree-sitter-parsers 2016-07-27 17:42:55 -04:00
joshvera
ae4142ad7c Add SourceSpan module 2016-07-27 17:15:09 -04:00
joshvera
b912b89b96 Return ErrorInfos from termToDiffInfo 2016-07-27 12:28:37 -04:00
Josh Vera
ff75f8b6fa Merge pull request #644 from github/sequenceable
Mergeable
2016-07-27 11:30:43 -04:00
Rob Rix
91e25e811e pqGramDecorator takes p and q parameters. 2016-07-27 00:22:31 -04:00
Rob Rix
755d9877b4 pqGrams takes the label function before p and q. 2016-07-27 00:22:22 -04:00
Rob Rix
bc1e8f8dee Stub in a decorator for p,q-grams. 2016-07-27 00:20:25 -04:00
Rob Rix
94a00db41a Eliminate a redundant binding. 2016-07-27 00:14:23 -04:00
Rob Rix
00cf4bc008 Traverse instead of separately sequencing and fmapping. 2016-07-27 00:12:56 -04:00
Rob Rix
08f7d71791 Rename termCost to termCostDecorator. 2016-07-27 00:08:42 -04:00
Rob Rix
afc0738c08 📝 TermDecorator. 2016-07-27 00:05:47 -04:00
Rob Rix
120c77ba29 Add & use a TermDecorator type synonym. 2016-07-27 00:04:40 -04:00
Rob Rix
af88fad102 Explicitly note that termCost is a decorator. 2016-07-27 00:03:00 -04:00
Rob Rix
893c1d9067 Eta reduce textDiff. 2016-07-27 00:01:54 -04:00
Rob Rix
1a4314bd38 Correct the doc example. 2016-07-26 23:35:12 -04:00
Rob Rix
7f4c97a9a0 Add an example to the docs for Mergeable. 2016-07-26 23:32:48 -04:00
joshvera
b5b3391786 add missing unwrap 2016-07-26 16:44:33 -04:00
joshvera
4bd4a93a0c ++js-test 2016-07-26 16:34:28 -04:00
joshvera
804a8457a5 ++js-test for errors.js 2016-07-26 16:30:12 -04:00
joshvera
b703c5aa6e Construct Error nodes as well 2016-07-26 16:29:59 -04:00
joshvera
5eece69994 Use any 2016-07-26 16:29:46 -04:00
Rob Rix
d9de3545d8 Merge branch 'master' into precompute-p,q-grams
# Conflicts:
#	src/Category.hs
#	src/Diffing.hs
#	src/TreeSitter.hs
2016-07-26 15:52:37 -04:00
Rob Rix
cfddd9ca75 Merge branch 'master' into sequenceable 2016-07-26 15:43:02 -04:00
Rob Rix
5f713de971 Merge pull request #651 from github/property-tests
Property tests
2016-07-26 15:42:48 -04:00
Rob Rix
0656543b38 📝 Mergeable. 2016-07-26 15:35:28 -04:00
Rob Rix
fd6b44e1a8 This should probably be non-empty. 2016-07-26 15:32:30 -04:00
Rob Rix
e5f9d1ed28 Test the Mergeable laws over lists. 2016-07-26 15:27:32 -04:00