1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
Commit Graph

14959 Commits

Author SHA1 Message Date
Rob Rix
0fc8fd2032 🔥 contextualizeLast. 2017-08-14 18:45:29 -04:00
Rob Rix
a7cfb3c988 Assign multiple comments at the end of a branch. 2017-08-14 18:38:29 -04:00
Timothy Clem
b6f307b92e Bump, bump 2017-08-14 15:35:51 -07:00
Timothy Clem
1c8d979a73 Bump build 2017-08-14 15:28:33 -07:00
Rob Rix
e3e3657b2c Assign comments right before else clauses. 2017-08-14 18:26:28 -04:00
Rob Rix
ec19a35697 Simplify the assignment of partial decorators. 2017-08-14 18:01:00 -04:00
Rob Rix
51638833df Assign comments at the end of branches. 2017-08-14 17:57:12 -04:00
Rob Rix
a2ced02795 Define separate postContextualize & postContextualizeThrough rules. 2017-08-14 17:56:58 -04:00
Timothy Clem
a6db57793e ++haskell-tree-sitter to enable dependent files for regenerating TH code 2017-08-14 14:36:08 -07:00
Rob Rix
c3addf1292 Define a function to contextualize the last element in a list. 2017-08-14 17:29:43 -04:00
Rob Rix
3043434628 Contextualize inside assignments. 2017-08-14 17:09:04 -04:00
Rob Rix
5a4e497048 Contextualize inside comparisonOperator and binaryOperator. 2017-08-14 17:02:42 -04:00
Rob Rix
dfbe85e5a0 Define a helper to contextualize infix terms. 2017-08-14 16:56:40 -04:00
Rob Rix
27f4db2f6a Correct the return types in infixContent. 2017-08-14 16:56:11 -04:00
Rob Rix
6f22e49623 Contextualize after the right term. 2017-08-14 16:50:16 -04:00
Rob Rix
82b1bc1f87 Define a helper to match context infix. 2017-08-14 16:46:51 -04:00
Rob Rix
d1ee070aa8 Context holds a NonEmpty list of fields. 2017-08-14 16:42:49 -04:00
Rob Rix
2d6f130d32 Define a Diffable' instance for NonEmpty fields in syntax. 2017-08-14 16:42:13 -04:00
Rob Rix
07fda850f9 Correct the docs for the Diffable' instance for Rec1 of []. 2017-08-14 16:39:48 -04:00
Rob Rix
54c6095da4 Define a GAlign instance for non-empty lists. 2017-08-14 16:38:05 -04:00
Rob Rix
9e2444d71d Define a post-contextualizing syntax combinator. 2017-08-14 16:26:01 -04:00
Rob Rix
e31c5eddb8 Define contextualize in terms of makeTerm1. 2017-08-14 16:19:11 -04:00
Timothy Clem
e5e221aa69 Try to get TH to run on all build nodes 2017-08-14 13:19:01 -07:00
Timothy Clem
5aa28af55b Bump for mac build 2017-08-14 13:15:44 -07:00
Rob Rix
f6c77b4daa Simplify assignment' a little further. 2017-08-14 16:12:31 -04:00
Rob Rix
e59f148a57 Simplify assignment'. 2017-08-14 16:10:29 -04:00
Rob Rix
ba3ef97260 Simplify binaryOperator. 2017-08-14 16:02:46 -04:00
Timothy Clem
8434dfae5c One final ++tree-sitter-ruby 2017-08-14 13:01:01 -07:00
Rob Rix
f4ff0a6f64 Correct the error message. 2017-08-14 15:58:51 -04:00
Rob Rix
212ce544da Simplify comparisonOperator. 2017-08-14 15:58:13 -04:00
Timothy Clem
97ae205a47 ++tree-sitter-ruby 2017-08-14 12:51:37 -07:00
Timothy Clem
93b337af4c Merge remote-tracking branch 'origin/master' into ruby-assignment-fixes 2017-08-14 12:50:45 -07:00
Rob Rix
d7e3092192 Split out makeTerm1 & makeTerm1'. 2017-08-14 15:50:01 -04:00
Rob Rix
d657570e3e Define a makeTerm-alike which constructs a Term from non-empty foldable syntax. 2017-08-14 15:45:30 -04:00
Rob Rix
d74d67b803 Generalize infixChoice to any Alternative. 2017-08-14 15:33:42 -04:00
Rob Rix
a9dd39e149 Pass constructor assignments to infixChoice directly. 2017-08-14 15:32:58 -04:00
Rob Rix
4b3668f222 Define an infix choice combinator. 2017-08-14 15:31:43 -04:00
Rob Rix
f0b55a4a94 Add callstacks to manyThrough. 2017-08-14 15:31:35 -04:00
Rob Rix
c0c479c302 Unparenthesize a thing. 2017-08-14 15:13:39 -04:00
Rob Rix
525c31694a 🔥 an obsolete comment. 2017-08-14 15:13:34 -04:00
Rob Rix
cd25018e40 Rearrange a few rules to reuse expressions. 2017-08-14 15:12:31 -04:00
Rob Rix
902ac23def Rewrite conditionalExpression without binds. 2017-08-14 14:46:05 -04:00
Rob Rix
a1fd6c9ad9 Reuse the expressions assignment. 2017-08-14 14:44:15 -04:00
Rob Rix
70e83e215f Use tokens to match symbols & advance. 2017-08-14 14:37:09 -04:00
Rob Rix
297675c90e Add a token combinator. 2017-08-14 13:59:48 -04:00
Rob Rix
965f716be1 Add an advance rule to pass nodes. 2017-08-14 13:58:02 -04:00
Rob Rix
41d5ec6065 Relax/remove some Ix constraints. 2017-08-14 13:49:39 -04:00
Rob Rix
e97b3e6fc6 Unfreeze notFollowedBy. 2017-08-14 13:46:14 -04:00
Rob Rix
244af6a9e4 Ensure we treat /dev/null as empty. 2017-08-14 10:38:12 -07:00
Rob Rix
e32c566774 Contextualize expressions. 2017-08-14 12:35:43 -04:00