⬆️ tree-sitter-cli
This commit is contained in:
parent
2d96fc5fcb
commit
f478eaddb3
|
@ -1,3 +1,4 @@
|
||||||
node_modules
|
node_modules
|
||||||
build
|
build
|
||||||
*.log
|
*.log
|
||||||
|
package-lock.json
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"nan": "^2.4.0"
|
"nan": "^2.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"tree-sitter-cli": "^0.10.1"
|
"tree-sitter-cli": "^0.11.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tree-sitter generate && node-gyp build",
|
"build": "tree-sitter generate && node-gyp build",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -63,7 +63,6 @@ typedef union {
|
||||||
struct {
|
struct {
|
||||||
uint8_t count;
|
uint8_t count;
|
||||||
bool reusable : 1;
|
bool reusable : 1;
|
||||||
bool depends_on_lookahead : 1;
|
|
||||||
};
|
};
|
||||||
} TSParseActionEntry;
|
} TSParseActionEntry;
|
||||||
|
|
||||||
|
@ -81,6 +80,8 @@ typedef struct TSLanguage {
|
||||||
const TSSymbol *alias_sequences;
|
const TSSymbol *alias_sequences;
|
||||||
uint16_t max_alias_sequence_length;
|
uint16_t max_alias_sequence_length;
|
||||||
bool (*lex_fn)(TSLexer *, TSStateId);
|
bool (*lex_fn)(TSLexer *, TSStateId);
|
||||||
|
bool (*keyword_lex_fn)(TSLexer *, TSStateId);
|
||||||
|
TSSymbol keyword_capture_token;
|
||||||
struct {
|
struct {
|
||||||
const bool *states;
|
const bool *states;
|
||||||
const TSSymbol *symbol_map;
|
const TSSymbol *symbol_map;
|
||||||
|
|
Loading…
Reference in New Issue