Skip to content

antlr-ng Tool Class Hierarchy / index / IToolParameters

Interface: IToolParameters

Deprecated

Use config files instead.

This is the legacy interface for the tool parameters. It is still supported for backward compatibility.

Properties

atn?

ts
optional atn: boolean;

config?

ts
optional config: string;

The path to a config file. When given, none of the other values is used.


define?

ts
optional define: Record<string, string>;

encoding?

ts
optional encoding: string;

exactOutputDir?

ts
optional exactOutputDir: boolean;

forceAtn?

ts
optional forceAtn: boolean;

generateDependencies?

ts
optional generateDependencies: boolean;

generateListener?

ts
optional generateListener: boolean;

generateVisitor?

ts
optional generateVisitor: boolean;

grammarFiles

ts
grammarFiles: string[];

lib?

ts
optional lib: string;

log?

ts
optional log: boolean;

longMessages?

ts
optional longMessages: boolean;

outputDirectory

ts
outputDirectory: string;

package?

ts
optional package: string;

warningsAreErrors?

ts
optional warningsAreErrors: boolean;