feat: support custom variables ${}
This commit is contained in:
parent
dd38dda19a
commit
df18e6cb21
@ -1793,13 +1793,17 @@ BIGDECIMAL_LITERAL
|
||||
;
|
||||
|
||||
IDENTIFIER
|
||||
: (LETTER | DIGIT | '_')+
|
||||
: (LETTER | DIGIT | '_' | CUSTOM_VARS)+
|
||||
;
|
||||
|
||||
BACKQUOTED_IDENTIFIER
|
||||
: '`' ( ~'`' | '``' )* '`'
|
||||
;
|
||||
|
||||
CUSTOM_VARS
|
||||
: '${'(IDENTIFIER)'}'
|
||||
;
|
||||
|
||||
fragment DECIMAL_DIGITS
|
||||
: DIGIT+ '.' DIGIT*
|
||||
| '.' DIGIT+
|
||||
|
Loading…
Reference in New Issue
Block a user