1
1
mirror of https://github.com/github/semantic.git synced 2025-01-02 12:23:08 +03:00
Commit Graph

14898 Commits

Author SHA1 Message Date
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
Rob Rix
ea161dea48 Contextualize concatenated string fragments. 2017-08-14 12:35:14 -04:00
Rob Rix
530179f833 🔥 discarding comments in conditionalExpression. 2017-08-14 12:34:58 -04:00
Rob Rix
e85e84371e Use the term combinator widely. 2017-08-14 12:08:29 -04:00
Rob Rix
52472efbf3 Define a helper to contextualize terms. 2017-08-14 12:07:53 -04:00
Rob Rix
3c7e940b9e Contextualize the first operand of boolean expressions. 2017-08-14 12:06:57 -04:00
Rob Rix
512a297142 🔥 a redundant location rule. 2017-08-14 12:05:08 -04:00
Rob Rix
9d5c5baab1 Don’t match comments with the expression rule. 2017-08-14 12:01:54 -04:00
Rob Rix
d532486dc0 Contextualize within boolean operators. 2017-08-14 12:01:41 -04:00
Rob Rix
48d9a9d247 Contextualize within pairs. 2017-08-14 12:01:28 -04:00
Rob Rix
5fc327ba32 Add Context to Python syntax. 2017-08-14 11:55:51 -04:00
Rob Rix
342b7802c0 Bump effects to include instances for larger Unions. 2017-08-14 11:54:18 -04:00
Rob Rix
390f237a38 Section ranges now include their children. 2017-08-14 11:51:55 -04:00
Rob Rix
066438b63b Define a combinator to contextualize nodes with e.g. comments. 2017-08-14 11:36:48 -04:00
Rob Rix
b138213347 Define a context datatype. 2017-08-14 11:36:35 -04:00
Rob Rix
97b9b30a1d Terms are constructed to contain their children. 2017-08-14 11:36:26 -04:00
Rob Rix
3fdb043537 Define a manyThrough combinator. 2017-08-14 11:35:13 -04:00
Rob Rix
8c27167301 Define a Semigroup instance for Record. 2017-08-14 11:35:03 -04:00
joshvera
77726b3562 Add fmap to propertyName 2017-08-11 17:01:32 -04:00
joshvera
e3a6de8d9e Make readonly' an Assignment 2017-08-11 17:01:19 -04:00
joshvera
c78fe9d713 Add children combinator to accessibilityModifier 2017-08-11 17:01:07 -04:00
joshvera
2b1d782c99 Fix up methodDefinition 2017-08-11 15:54:46 -04:00
Rick Winfrey
4bd270200a Generate test fixtures for Python 2017-08-11 11:58:45 -07:00
joshvera
a9c98d06c6 Stub in statement, methodDefinition, and destructuringPattern 2017-08-11 14:51:04 -04:00
joshvera
febf0e5e17 Add Visibility, TypeParameters, TypeParameter 2017-08-11 14:50:35 -04:00
joshvera
16b192c22e Add RequiredParameter, OptionalParameter 2017-08-11 14:50:19 -04:00
Rob Rix
01e5ddb1cb Map sequence_expression to CommaOperator. 2017-08-11 10:16:06 -04:00
Rob Rix
9effa7aea1 Flatten expression statements involving sequence expressions. 2017-08-11 10:15:16 -04:00