Browsable SEE Design Grammar

CC-BY

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

Summary

Syntax

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

GrammarLabMaintained by Dr. Vadim Zaytsev a.k.a. @grammarware. Last updated in September 2015. []