AttribStatement | attrib ( FormalParameterSequence ) | |
Statement | Assignment | |
Statement | Alternative | |
Statement | WhileLoop | |
Statement | RightValue | |
Statement | error | |
Statement | return RightValue | |
Statement | ElementCreation | |
Assignment | LeftValue := RightValue | |
LeftValue | id | |
LeftValue | id : Type | |
LeftValue | AttributeCall | |
RightValue | FunctionCall | |
RightValue | ArithmeticExpression | |
RightValue | BooleanExpression | |
AttributeCall | id id | |
FunctionCall | id ( ActualParameterSequence ) | |
ElementCreation | attrib ( ActualParameterSequence ) | |
ActualParameterSequence | ActualParameter | |
ActualParameterSequence | ||
ActualParameterSequence | ActualParameter , MoreParamters | |
MoreParamters | ActualParameter | |
MoreParamters | ActualParameter , MoreParamters | |
ActualParameter | ArithmeticExpression | |
Alternative | if Test then IfTrue else IfFalse | |
Alternative | if Test then IfTrue | |
Test | BooleanExpression | |
IfTrue | { StatementSequence } | |
IfFalse | { StatementSequence } | |
WhileLoop | while Test repeat IfTrue |