Top Inners Constructors Methods
org.antlr.v4.runtime.misc

public Class InterpreterDataReader

extends Object
Class Inheritance
Imports
org.antlr.v4.runtime.Vocabulary, .VocabularyImpl, org.antlr.v4.runtime.atn.ATN, .ATNDeserializer, java.io.BufferedReader, .FileReader, .IOException, java.util.ArrayList, .List

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static InterpreterDataReader.InterpreterData
parseFile(String fileName)

The structure of the data file is very simple.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

InterpreterDataReaderback to summary
public InterpreterDataReader()

Method Detail

parseFileback to summary
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.

org.antlr.v4.runtime.misc back to summary

public Class InterpreterDataReader.InterpreterData

extends Object
Class Inheritance
  • java.lang.Object
  • org.antlr.v4.runtime.misc.InterpreterDataReader.InterpreterData

Field Summary

Modifier and TypeField and Description
pack-priv ATN
pack-priv List<String>
pack-priv List<String>
pack-priv List<String>
pack-priv Vocabulary

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

atnback to summary
pack-priv ATN atn
channelsback to summary
pack-priv List<String> channels
modesback to summary
pack-priv List<String> modes
ruleNamesback to summary
pack-priv List<String> ruleNames
vocabularyback to summary
pack-priv Vocabulary vocabulary

Constructor Detail

InterpreterDataback to summary
public InterpreterData()