| Package | Description |
|---|---|
| org.antlr.v4.runtime |
| Modifier and Type | Class and Description |
|---|---|
private static class |
CodePointCharStream.CodePoint16BitCharStream |
private static class |
CodePointCharStream.CodePoint32BitCharStream |
private static class |
CodePointCharStream.CodePoint8BitCharStream |
| Modifier and Type | Method and Description |
|---|---|
static CodePointCharStream |
CodePointCharStream.fromBuffer(CodePointBuffer codePointBuffer)
Constructs a
CodePointCharStream which provides access
to the Unicode code points stored in codePointBuffer. |
static CodePointCharStream |
CodePointCharStream.fromBuffer(CodePointBuffer codePointBuffer,
java.lang.String name)
Constructs a named
CodePointCharStream which provides access
to the Unicode code points stored in codePointBuffer. |
static CodePointCharStream |
CharStreams.fromChannel(java.nio.channels.ReadableByteChannel channel,
java.nio.charset.Charset charset,
int bufferSize,
java.nio.charset.CodingErrorAction decodingErrorAction,
java.lang.String sourceName,
long inputSize) |
static CodePointCharStream |
CharStreams.fromChannel(java.nio.channels.ReadableByteChannel channel,
int bufferSize,
java.nio.charset.CodingErrorAction decodingErrorAction,
java.lang.String sourceName)
Creates a
CharStream given an opened ReadableByteChannel
containing UTF-8 bytes. |
static CodePointCharStream |
CharStreams.fromReader(java.io.Reader r)
Creates a
CharStream given a Reader. |
static CodePointCharStream |
CharStreams.fromReader(java.io.Reader r,
java.lang.String sourceName)
Creates a
CharStream given a Reader and its
source name. |
static CodePointCharStream |
CharStreams.fromString(java.lang.String s)
Creates a
CharStream given a String. |
static CodePointCharStream |
CharStreams.fromString(java.lang.String s,
java.lang.String sourceName)
|