OOps
This commit is contained in:
parent
d8f897d023
commit
2346c34cce
|
@ -74,29 +74,29 @@ expression, the parser follows this decision tree to determine what to parse:
|
||||||
| | 'loop' =Loop
|
| | 'loop' =Loop
|
||||||
| | 'for' =For
|
| | 'for' =For
|
||||||
| | +Colon =Declaration
|
| | +Colon =Declaration
|
||||||
| | +DoubleColon | +TypeIdent =(A)
|
| | +DoubleColon | +TypeIdent =Constant
|
||||||
| | +LBracket =(B)
|
| | +LBracket =Call
|
||||||
|
|
|
|
||||||
| +TypeIdent(A) =Constant
|
| +TypeIdent =Constant
|
||||||
|
|
|
|
||||||
| +LParen X =LiteralArray
|
| +LParen X =LiteralArray
|
||||||
| | +Dot =LiteralStruct
|
| | +Dot =LiteralStruct
|
||||||
|
|
|
|
||||||
| +LBracket(B) | +Ident =Call
|
| +LBracket | +Ident =Call
|
||||||
| | | 'break' =Break
|
| | | 'break' =Break
|
||||||
| | | 'return' =Return
|
| | | 'return' =Return
|
||||||
| |
|
| |
|
||||||
| | +Dot +Expression =Dereference
|
| | +Dot +Expression =Dereference
|
||||||
| | | +Expression =Subscript
|
| | | +Expression =Subscript
|
||||||
| | +Star =Operation
|
| | +Star =Operation
|
||||||
| |
|
| |
|
||||||
| | +Symbol X
|
| | +Symbol X
|
||||||
| | '\' =Slice
|
| | '\' =Slice
|
||||||
| | '#' =Length
|
| | '#' =Length
|
||||||
| | '@' =Reference
|
| | '@' =Reference
|
||||||
| | '~' =ValueCast
|
| | '~' =ValueCast
|
||||||
| | '~~' =BitCast
|
| | '~~' =BitCast
|
||||||
| | OPERATOR =Operation
|
| | OPERATOR =Operation
|
||||||
|
|
|
|
||||||
| +LBrace =Block
|
| +LBrace =Block
|
||||||
| +Int =LiteralInt
|
| +Int =LiteralInt
|
||||||
|
|
Loading…
Reference in New Issue