See in [ShireParser.bnf] for latest version.
Example:
All
| ValueType | Description |
|---|---|
| String | "value" |
| IDENTIFIER | enum key in Shire soure code |
| Number | 123 |
| Boolean | true |
| Array | [1, 2, 3] |
| Object | {key: "value"} |
Example:
All
| ValueType | Description | Example |
|---|---|---|
| Pattern Action | /regex/ { functionBlock } | /.*.java/ { $selection.length() >= 0 } |
| Function | { functionBlock } | { $selection.length() >= 0 } |
| Ast Query Expression | use from, select, where, | see in Ast Query Expression |
| Case Block | case "variable" { functionBlock } | case "$0" { default { grep("ERROR") | sort | xargs("notify_admin") } } |
| Flags Block | flags { flagBlock } | flags { "ignore": { } } |