DOCS: keep all tokens together.

This commit is contained in:
Jeremy Wall 2019-01-06 14:45:36 -06:00
parent f219b320f2
commit 1b744ab883

View File

@ -57,18 +57,12 @@ null_keyword: "NULL" ;
in_keyword: "in" ; in_keyword: "in" ;
escaped: "\", VISIBLE_CHAR ; escaped: "\", VISIBLE_CHAR ;
str: quot, { escaped | UTF8_CHAR }, quot ; str: quot, { escaped | UTF8_CHAR }, quot ;
```
Whitespace is discarded before parsing the rest of the AST.
## Simple Scalar Values
```
str:
float: (DIGIT+, dot, { DIGIT }) | (dot, DIGIT+) ; float: (DIGIT+, dot, { DIGIT }) | (dot, DIGIT+) ;
number: ["-" | "+"](float | integer) ; number: ["-" | "+"](float | integer) ;
``` ```
Whitespace is discarded before parsing the rest of the AST.
## Complex Values ## Complex Values
### Lists ### Lists