Class ANTLRFileStream
java.lang.Object
org.graalvm.shadowed.org.antlr.v4.runtime.ANTLRInputStream
org.graalvm.shadowed.org.antlr.v4.runtime.ANTLRFileStream
- All Implemented Interfaces:
CharStream,IntStream
Deprecated.
This is an
ANTLRInputStream that is loaded from a file all at once
when you construct the object.-
Field Summary
FieldsFields inherited from class org.graalvm.shadowed.org.antlr.v4.runtime.ANTLRInputStream
data, INITIAL_BUFFER_SIZE, n, name, p, READ_BUFFER_SIZEFields inherited from interface org.graalvm.shadowed.org.antlr.v4.runtime.IntStream
EOF, UNKNOWN_SOURCE_NAME -
Constructor Summary
ConstructorsConstructorDescriptionANTLRFileStream(String fileName) Deprecated.ANTLRFileStream(String fileName, String encoding) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the name of the underlying symbol source.voidDeprecated.
-
Field Details
-
fileName
Deprecated.
-
-
Constructor Details
-
ANTLRFileStream
-
ANTLRFileStream
Deprecated.- Throws:
IOException
-
-
Method Details
-
load
Deprecated.- Throws:
IOException
-
getSourceName
Deprecated.Description copied from interface:IntStreamGets the name of the underlying symbol source. This method returns a non-null, non-empty string. If such a name is not known, this method returnsIntStream.UNKNOWN_SOURCE_NAME.- Specified by:
getSourceNamein interfaceIntStream- Overrides:
getSourceNamein classANTLRInputStream
-
CharStreamsinterface.