Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: toy/editor/extracted
Source used for this grammar: Julien Bernier, Manuel Boillod, Joanny Christ, Sylvain Leduby, Generic editor 0.2, GenericEditor.ecore
, 2005/02/01
LocatedElement
, Editor
, AbstractElement
, Block
, GroupElement
, Element
, Format
, Color
, Font
, Indent
, String
, Integer
, Boolean
), 0 root (—), 1 top (LocatedElement
), 0 bottom (—).[extension]
, [abstractElements]
, [blockbegin]
, [blockend]
, [indent]
, [element]
2, [groupElement]
, [color]
, [font]
2, [red]
, [green]
, [blue]
, [bold]
, [italic]
, [retrait]
, [groupElementIndent]
.LocatedElement ::= Editor
LocatedElement ::= AbstractElement
LocatedElement ::= Element
LocatedElement ::= Format
LocatedElement ::= Color
LocatedElement ::= Font
LocatedElement ::= Indent
Editor ::=
[extension]::String [abstractElements]::AbstractElement
AbstractElement ::= Block
AbstractElement ::= GroupElement
Block ::= [blockbegin]::String [blockend]::String
GroupElement ::=
[indent]::Indent [element]::Element
Element ::= [element]::String [groupElement]::GroupElement
Format ::= [color]::Color [font]::Font
Color ::= [red]::Integer [green]::Integer [blue]::Integer
Font ::= [font]::String [bold]::Boolean [italic]::Boolean
Indent ::= [retrait]::String [groupElementIndent]::GroupElement
String ::= string
Integer ::= integer
Boolean ::= "true" "false"