identifier

An identifier is a name token. It may be a plain identifier (matching the IDENTIFIER lexer token), a delimited identifier (backtick-enclosed), or a quoted identifier (double-quote-enclosed) which allows reserved words as names.

Examples

Plain unquoted identifier

define AgeInYears: ...

Backtick-delimited identifier — allows spaces and reserved words

define `Initial Population`: ...

Double-quoted identifier — commonly used for expression names

define "Initial Population": ...
Railroad Diagram
100%
IDENTIFIER DELIMITEDIDENTIFIER QUOTEDIDENTIFIER

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

EBNF

identifier
  : IDENTIFIER
  | DELIMITEDIDENTIFIER
  | QUOTEDIDENTIFIER
  ;

Used In