Package | Description |
---|---|
org.antlr.v4.runtime | |
org.antlr.v4.runtime.tree.pattern |
Modifier and Type | Field | Description |
---|---|---|
static TokenFactory<CommonToken> |
CommonTokenFactory.DEFAULT |
The default
CommonTokenFactory instance. |
Modifier and Type | Method | Description |
---|---|---|
CommonToken |
CommonTokenFactory.create(int type,
String text) |
|
CommonToken |
CommonTokenFactory.create(Pair<TokenSource,CharStream> source,
int type,
String text,
int channel,
int start,
int stop,
int line,
int charPositionInLine) |
Modifier and Type | Class | Description |
---|---|---|
class |
TokenTagToken |
A
Token object representing a token of a particular type; e.g.,
<ID> . |
Copyright © 1992–2019 ANTLR. All rights reserved.