externalConstant

A reference to an externally supplied constant value, prefixed with %. The name may be a keyword identifier, a plain identifier, or a string literal. External constants are resolved by the evaluation environment at runtime.

Examples

External constant by identifier

%measurementPeriod

External constant by string name

%'measurement-period'

Used in an expression

define "Period": %measurementPeriod
Railroad Diagram
100%
% keywordIdentifier identifier STRING

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

EBNF

externalConstant
  : '%' (keywordIdentifier | identifier | STRING)
  ;

Used In