The Java EE 6 Tutorial

BNF Symbols

Table 22–1 describes the BNF symbols used in this chapter.

Table 22–1 BNF Symbol Summary

Symbol 

Description 

::=

The element to the left of the symbol is defined by the constructs on the right. 

*

The preceding construct may occur zero or more times. 

{...}

The constructs within the braces are grouped together. 

[...]

The constructs within the brackets are optional. 

|

An exclusive OR.

BOLDFACE

A keyword; although capitalized in the BNF diagram, keywords are not case-sensitive. 

White space 

A whitespace character can be a space, a horizontal tab, or a line feed.