Table of Contents

About

Option for the grammar

Syntax

Antlr

Antlr - antlr4.(bat|sh)

antlr4 -Dname=value T.g4
# example
antlr4 -Dlanguage=C T.g4

Grammar file

Grammar options are specified using the following syntax.

options {
  name = 'value';
  . . .
}

Documentation / Reference