Add ':=' to 'operator'
This commit is contained in:
parent
82bbebeeb5
commit
0b17386cad
8 changed files with 67 additions and 16 deletions
|
|
@ -822,8 +822,13 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": ":="
|
||||
"type": "ALIAS",
|
||||
"content": {
|
||||
"type": "STRING",
|
||||
"value": ":="
|
||||
},
|
||||
"named": true,
|
||||
"value": "operator"
|
||||
},
|
||||
{
|
||||
"type": "FIELD",
|
||||
|
|
@ -939,8 +944,13 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": ":="
|
||||
"type": "ALIAS",
|
||||
"content": {
|
||||
"type": "STRING",
|
||||
"value": ":="
|
||||
},
|
||||
"named": true,
|
||||
"value": "operator"
|
||||
},
|
||||
{
|
||||
"type": "FIELD",
|
||||
|
|
@ -1469,8 +1479,13 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": ":="
|
||||
"type": "ALIAS",
|
||||
"content": {
|
||||
"type": "STRING",
|
||||
"value": ":="
|
||||
},
|
||||
"named": true,
|
||||
"value": "operator"
|
||||
},
|
||||
{
|
||||
"type": "FIELD",
|
||||
|
|
|
|||
|
|
@ -389,6 +389,16 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"children": {
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "operator",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -811,6 +821,16 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"children": {
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "operator",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -2067,6 +2087,16 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"children": {
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "operator",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -2255,10 +2285,6 @@
|
|||
"type": ":",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": ":=",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": ";",
|
||||
"named": false
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ static const char * const ts_symbol_names[] = {
|
|||
[anon_sym_of] = "of",
|
||||
[anon_sym_LBRACE] = "{",
|
||||
[anon_sym_RBRACE] = "}",
|
||||
[anon_sym_COLON_EQ] = ":=",
|
||||
[anon_sym_COLON_EQ] = "operator",
|
||||
[anon_sym_if] = "if",
|
||||
[anon_sym_then] = "then",
|
||||
[anon_sym_else] = "else",
|
||||
|
|
@ -227,7 +227,7 @@ static const TSSymbol ts_symbol_map[] = {
|
|||
[anon_sym_of] = anon_sym_of,
|
||||
[anon_sym_LBRACE] = anon_sym_LBRACE,
|
||||
[anon_sym_RBRACE] = anon_sym_RBRACE,
|
||||
[anon_sym_COLON_EQ] = anon_sym_COLON_EQ,
|
||||
[anon_sym_COLON_EQ] = anon_sym_DASH,
|
||||
[anon_sym_if] = anon_sym_if,
|
||||
[anon_sym_then] = anon_sym_then,
|
||||
[anon_sym_else] = anon_sym_else,
|
||||
|
|
@ -407,7 +407,7 @@ static const TSSymbolMetadata ts_symbol_metadata[] = {
|
|||
},
|
||||
[anon_sym_COLON_EQ] = {
|
||||
.visible = true,
|
||||
.named = false,
|
||||
.named = true,
|
||||
},
|
||||
[anon_sym_if] = {
|
||||
.visible = true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue