GRAMMARS
Grammar Notation
2.4
BreakStatement:
break
Identifier
opt
;
is a convenient abbreviation for:
BreakStatement:
break ;
break
Identifier
;
and that:
ForStatement
:
for (
ForInit
opt
;
Expression
opt
;
ForUpdate
opt
)
Statement
is a convenient abbreviation for:
ForStatement
:
for ( ;
Expression
opt
;
ForUpdate
opt
)
Statement
for (
ForInit
;
Expression
opt
;
ForUpdate
opt
)
Statement
which in turn is an abbreviation for:
ForStatement
:
for ( ; ;
ForUpdate
opt
)
Statement
for ( ;
Expression
;
ForUpdate
opt
)
Statement
for (
ForInit
; ;
ForUpdate
opt
)
Statement
for (
ForInit
;
Expression
;
ForUpdate
opt
)
Statement
which in turn is an abbreviation for:
ForStatement
:
for ( ; ; )
Statement
for ( ; ;
ForUpdate
)
Statement
for ( ;
Expression
; )
Statement
for ( ;
Expression
;
ForUpdate
)
Statement
for (
ForInit
; ; )
Statement
for (
ForInit
; ;
ForUpdate
)
Statement
for (
ForInit
;
Expression
; )
Statement
for (
ForInit
;
Expression
;
ForUpdate
)
Statement
so the nonterminal
ForStatement
actually has eight alternative right hand sides.
A very long right hand side may be continued on a second line by substan
tially indenting this second line, as in:
ConstructorDeclaration
:
ConstructorModifiers
opt
ConstructorDeclarator
Throws
opt
ConstructorBody
9
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved