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

14674 Commits

Author SHA1 Message Date
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
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
Rob Rix
ffa33bbe0f Unwrap expression statements in for loops. 2017-08-11 10:11:34 -04:00
Rob Rix
048b7874d1 Correct the Go fixtures. 2017-08-11 10:05:25 -04:00
Rob Rix
0e2c418038 Ensure we treat /dev/null as empty. 2017-08-11 09:57:03 -04:00
Rob Rix
1f26be577a Assign a bunch more operators. 2017-08-11 09:53:08 -04:00
Rob Rix
04ce0c89c6 Match BooleanOperators. 2017-08-11 09:46:08 -04:00
Rob Rix
2e0c870a82 Handle some operators in defaultTermAssignment. 2017-08-11 09:40:18 -04:00
Rob Rix
a8e32d6739 Factor pure into toTerm. 2017-08-11 09:29:01 -04:00
Rob Rix
57fe826d9f Map a bunch of category names. 2017-08-11 09:26:14 -04:00
Rob Rix
96230f04b6 Flatten switch_body nodes out. 2017-08-11 09:25:19 -04:00
Rob Rix
b08ea229d6 Drop parenthesized expression nodes. 2017-08-11 09:20:12 -04:00
Rob Rix
f9600f91d2 Construct complete Terms in defaultTermAssignment. 2017-08-11 09:18:08 -04:00
Rob Rix
d61967e238 Don’t export defaultTermAssignment. 2017-08-11 09:14:58 -04:00
Rob Rix
362c3c7e4c Don’t unwrap parenthesized expressions that way. 2017-08-11 09:11:13 -04:00
Rob Rix
3d6bc1f03b Map subscript_expression to SubscriptAccess. 2017-08-11 09:05:16 -04:00
Rob Rix
817000ff52 Expand parenthesized expressions in place. 2017-08-11 09:04:46 -04:00
Rob Rix
61052b3340 Correct some references again. 2017-08-11 08:52:25 -04:00
Rob Rix
d6a467f50b Bump the submodules. 2017-08-11 08:52:17 -04:00
Rob Rix
0c773722f9 Correct the TreeSitter imports &c. 2017-08-11 08:43:53 -04:00
Rob Rix
9dacfa1926 Bump the submodules for corrected paths to the C sources. 2017-08-11 08:38:39 -04:00
Rob Rix
21ccc174e3 🔥 looking for packages in the languages dir. 2017-08-11 08:36:18 -04:00
Rob Rix
e74da6846d Get the tree-sitter-typescript package from the submodule. 2017-08-11 08:35:37 -04:00
Rob Rix
b9e75cb59f Get the tree-sitter-ruby package from the submodule. 2017-08-11 08:35:29 -04:00
Rob Rix
b6075642d7 Get the tree-sitter-python package from the submodule. 2017-08-11 08:35:21 -04:00
Rob Rix
e08f86300f Get the tree-sitter-json package from the submodule. 2017-08-11 08:35:14 -04:00
Rob Rix
ace55d00ba Get the tree-sitter-go package from the submodule. 2017-08-11 08:35:07 -04:00
Rob Rix
7ba37de6cd Move all of the language submodules into vendor/. 2017-08-11 08:14:21 -04:00
Rob Rix
661178bf93 Export the language symbol consistently. 2017-08-11 08:11:59 -04:00
Rob Rix
c576e0034f Import the Language module in the language packages. 2017-08-11 08:10:26 -04:00
Rob Rix
6ddfcc3b98 Rename the typescript package. 2017-08-11 08:07:03 -04:00
Rob Rix
c5b6c0a054 Rename the ruby package. 2017-08-11 08:06:37 -04:00
Rob Rix
10c653bd95 Rename the python package. 2017-08-11 08:06:08 -04:00
Rob Rix
7f6fed1e4e Rename the json package. 2017-08-11 08:03:55 -04:00
Rob Rix
2588f04015 Rename the go package. 2017-08-11 08:03:27 -04:00