Package org.antlr.v4.runtime.misc
Class InterpreterDataReader
- java.lang.Object
-
- org.antlr.v4.runtime.misc.InterpreterDataReader
-
public class InterpreterDataReader extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InterpreterDataReader.InterpreterData
-
Constructor Summary
Constructors Constructor Description InterpreterDataReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InterpreterDataReader.InterpreterData
parseFile(String fileName)
The structure of the data file is very simple.
-
-
-
Method Detail
-
parseFile
public static InterpreterDataReader.InterpreterData parseFile(String fileName)
The structure of the data file is very simple. Everything is line based with empty lines separating the different parts. For lexers the layout is: token literal names: ... token symbolic names: ... rule names: ... channel names: ... mode names: ... atn: enclosed in a pair of squared brackets. Data for a parser does not contain channel and mode names.
-
-