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

7726 Commits

Author SHA1 Message Date
joshvera
36aee3a87b Add Throw category 2016-07-29 15:32:54 -04:00
joshvera
2dbe0eca0a Add Throw to Syntax 2016-07-29 15:31:11 -04:00
joshvera
ebda2e6900 Remove redundant import 2016-07-29 15:31:04 -04:00
joshvera
380e980250 annotate sources 2016-07-29 14:34:28 -04:00
joshvera
5e877cc3e9 Remove some redundant imports 2016-07-29 14:31:15 -04:00
joshvera
1ba42a9d0f Add Ranges to DiffSummarySpec 2016-07-29 14:31:02 -04:00
joshvera
05b4257711 Take sources instead of blobs to simplify diffSummary interface 2016-07-29 14:20:35 -04:00
joshvera
aa99744db7 Remove SourceSpan from Record 2016-07-29 14:12:44 -04:00
joshvera
f7286f927c Construct errors with a SourceSpan 2016-07-29 14:05:11 -04:00
joshvera
e38ce8b883 Add SourceSpan to Error syntax 2016-07-29 13:59:30 -04:00
joshvera
20a70dae28 extract for statement text from the source 2016-07-29 13:58:15 -04:00
joshvera
3bb2bfeb97 Cleanup prependSummary 2016-07-29 13:49:07 -04:00
joshvera
5b22f1c9ad add toTermName' to close over Source 2016-07-29 13:12:36 -04:00
joshvera
8fffee031a Move Source declarations to the top 2016-07-29 13:03:11 -04:00
joshvera
ce3857320f Pass SourceBlobs to diffSummary 2016-07-29 12:59:07 -04:00
joshvera
87c4c20b4d s/files/blobs 2016-07-29 12:24:12 -04:00
joshvera
4493751dd7 Merge remote-tracking branch 'origin/master' into error-syntax 2016-07-29 12:18:14 -04:00
Rob Rix
e5cfb90466 Merge pull request #654 from github/loop-syntax
Add support for For, Do While and While syntax
2016-07-29 12:06:18 -04:00
joshvera
5f7555b624 Finish merging DiffSummary 2016-07-29 11:48:31 -04:00
joshvera
fbc9e335a3 Merge remote-tracking branch 'origin/master' into error-syntax 2016-07-29 11:44:38 -04:00
joshvera
7f3cb2e9ef Merge remote-tracking branch 'origin/master' into loop-syntax 2016-07-29 11:42:25 -04:00
Rob Rix
ffb9ac1309 Merge pull request #655 from github/return-syntax
Return syntax
2016-07-29 03:28:49 -04:00
joshvera
c45f251b3d parse For exprs 2016-07-28 16:34:07 -04:00
joshvera
69c02ce76e mconcat For exprs for now 2016-07-28 16:33:37 -04:00
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