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
|
||||
| | 'for' =For
|
||||
| | +Colon =Declaration
|
||||
| | +DoubleColon | +TypeIdent =(A)
|
||||
| | +LBracket =(B)
|
||||
| | +DoubleColon | +TypeIdent =Constant
|
||||
| | +LBracket =Call
|
||||
|
|
||||
| +TypeIdent(A) =Constant
|
||||
| +TypeIdent =Constant
|
||||
|
|
||||
| +LParen X =LiteralArray
|
||||
| | +Dot =LiteralStruct
|
||||
|
|
||||
| +LBracket(B) | +Ident =Call
|
||||
| | | 'break' =Break
|
||||
| | | 'return' =Return
|
||||
| |
|
||||
| | +Dot +Expression =Dereference
|
||||
| | | +Expression =Subscript
|
||||
| | +Star =Operation
|
||||
| |
|
||||
| | +Symbol X
|
||||
| | '\' =Slice
|
||||
| | '#' =Length
|
||||
| | '@' =Reference
|
||||
| | '~' =ValueCast
|
||||
| | '~~' =BitCast
|
||||
| | OPERATOR =Operation
|
||||
| +LBracket | +Ident =Call
|
||||
| | | 'break' =Break
|
||||
| | | 'return' =Return
|
||||
| |
|
||||
| | +Dot +Expression =Dereference
|
||||
| | | +Expression =Subscript
|
||||
| | +Star =Operation
|
||||
| |
|
||||
| | +Symbol X
|
||||
| | '\' =Slice
|
||||
| | '#' =Length
|
||||
| | '@' =Reference
|
||||
| | '~' =ValueCast
|
||||
| | '~~' =BitCast
|
||||
| | OPERATOR =Operation
|
||||
|
|
||||
| +LBrace =Block
|
||||
| +Int =LiteralInt
|
||||
|
|
Loading…
Reference in New Issue