O'Reilly logo

Core Java™ Data Objects by Heiko Bobzin, Michael Vorburger, Keiron McCammon, Sameer Tyagi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C.1. Grammar Notation

The grammar notation is taken from the Java Language Specification:

  • Terminal symbols are shown in bold in the productions of the lexical and syntactic grammars, and throughout this specification whenever the text is directly referring to such a terminal symbol. These are to appear in a program exactly as written.

  • Non-terminal symbols are shown in italic type. The definition of a non-terminal is introduced by the name of the non-terminal being defined, followed by a colon. One or more alternative right sides for the non-terminal then follow on succeeding lines.

  • The suffix “opt,” which may appear after a terminal or non-terminal, indicates an optional symbol. The alternative containing the optional symbol actually specifies ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required