IDENTIFIER

The basic unquoted identifier token. Starts with a letter or underscore, followed by zero or more letters, digits, or underscores. Case-sensitive. Reserved words cannot appear as plain identifiers; use a delimited or quoted form instead.

Examples

Simple identifier

Patient

Camel-case identifier

birthDate

Underscore prefix

_privateVar
Railroad Diagram
100%
A–Z, a–z _ A–Z, a–z 0–9 _

scroll to zoom · drag to pan · click green rules or blue tokens to navigate

EBNF

IDENTIFIER
  : ([A-Za-z] | '_') ([A-Za-z0-9] | '_')*
  ;

Used In