Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: §wip/atl/SEE_Design/extracted
Source used for this grammar: Julien Baudry, SEE Design, SEE_Design.ecore
, 2006/07/10
LogFile
, Logger
, Expression
, Literal
, VariableExpression
, NumberExpression
, UnaryOperator
, UnaryPlusOp
, UnaryMinusOp
, BinaryOperator
, PlusOperator
, MinusOperator
, Boolean
, Integer
, String
), 0 root (—), 0 top (—), 0 bottom (—).[file]
, [instance]
2, [logger]
2, [expression]
, [logFile]
, [loggingOn]
, [value]
2, [name]
, [operand]
3, [operand1]
3, [operand2]
3.LogFile ::= [file]::String [instance]::LogFile [logger]::Logger
Logger ::= [instance]::Logger [expression]::Expression [logFile]::LogFile
Expression ::= Literal
Expression ::= UnaryOperator
Expression ::= BinaryOperator
Expression ::= [loggingOn]::Boolean [logger]::Logger
Literal ::= VariableExpression
Literal ::= NumberExpression
Literal ::= [value]::Integer
VariableExpression ::= [name]::String
NumberExpression ::= [value]::Integer
UnaryOperator ::= UnaryPlusOp
UnaryOperator ::= UnaryMinusOp
UnaryOperator ::= [operand]::Expression
UnaryPlusOp ::= [operand]::Expression
UnaryMinusOp ::= [operand]::Expression
BinaryOperator ::= PlusOperator
BinaryOperator ::= MinusOperator
BinaryOperator ::= [operand1]::Expression [operand2]::Expression
PlusOperator ::= [operand1]::Expression [operand2]::Expression
MinusOperator ::= [operand1]::Expression [operand2]::Expression
Boolean ::= "true" "false"
Integer ::= integer
String ::= string