Package | Description |
---|---|
org.antlr.v4.runtime |
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,
String name)
Constructs a named
CodePointCharStream which provides access
to the Unicode code points stored in codePointBuffer . |
static CodePointCharStream |
CharStreams.fromChannel(ReadableByteChannel channel,
Charset charset,
int bufferSize,
CodingErrorAction decodingErrorAction,
String sourceName,
long inputSize) |
static CodePointCharStream |
CharStreams.fromChannel(ReadableByteChannel channel,
int bufferSize,
CodingErrorAction decodingErrorAction,
String sourceName)
Creates a
CharStream given an opened ReadableByteChannel
containing UTF-8 bytes. |
static CodePointCharStream |
CharStreams.fromReader(Reader r)
Creates a
CharStream given a Reader . |
static CodePointCharStream |
CharStreams.fromReader(Reader r,
String sourceName)
Creates a
CharStream given a Reader and its
source name. |
static CodePointCharStream |
CharStreams.fromString(String s)
Creates a
CharStream given a String . |
static CodePointCharStream |
CharStreams.fromString(String s,
String sourceName)
|
Copyright © 1992–2020 ANTLR. All rights reserved.