提交 bd6db90d 编写于 作者: T terrymanu

for #2084, add literals type

上级 4b64b8ec
......@@ -33,11 +33,11 @@ literals
;
stringLiterals
: unicodeEscapes_? STRING_ uescape_?
: unicodeEscapes_? STRING_ literalsType_? uescape_?
;
numberLiterals
: MINUS_? NUMBER_
: MINUS_? NUMBER_ literalsType_?
;
hexadecimalLiterals
......@@ -56,6 +56,10 @@ nullValueLiterals
: NULL
;
literalsType_
: COLON_ COLON_ IDENTIFIER_
;
identifier_
: quotedIdentifier_ | IDENTIFIER_ | unreservedWord_
;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册