]>
Commit | Line | Data |
---|---|---|
1bdbdaff P |
1 | (* https://bottlecaps.de/rr/ui *) |
2 | ||
3 | Definition | |
4 | ::= PropertyName ( '=' Value )? ( ',' PropertyName ( '=' Value )? )* | |
da89ac0b | 5 | Query ::= PropertyQuery ( ',' PropertyQuery )* |
915bf45e | 6 | PropertyQuery ::= '-' PropertyName |
cec3901a | 7 | | '?'? ( PropertyName (( '=' | '!=' ) Value)?) |
1bdbdaff P |
8 | Value ::= NumberLiteral |
9 | | StringLiteral | |
10 | StringLiteral ::= QuotedString | UnquotedString | |
11 | QuotedString ::= '"' [^"]* '"' | |
da89ac0b | 12 | | "'" [^']* "'" |
1bdbdaff P |
13 | UnquotedString ::= [^{space},]+ |
14 | NumberLiteral | |
15 | ::= '0' ( [0-7]* | 'x' [0-9A-Fa-f]+ ) | |
da89ac0b | 16 | | '-'? [1-9] [0-9]+ |
1bdbdaff P |
17 | PropertyName |
18 | ::= [A-Z] [A-Z0-9_]* ( '.' [A-Z] [A-Z0-9_]* )* |