UNPKG

antlr-ng

Version:

Next generation ANTLR Tool

13 lines (12 loc) 334 B
/** What type of grammar is it we process currently? */ export declare enum GrammarType { /** A lexer grammar. */ Lexer = 0, /** A parser grammar. */ Parser = 1, /** * A combined grammar (lexer + parser in a single file). * Combined grammars are limited and should be avoided. */ Combined = 2 }