public class TokenProduction
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
Token |
firstToken |
The first and last tokens from the input stream that represent this
production.
|
boolean |
ignoreCase |
This is true if case is to be ignored within the regular expressions
of this token production.
|
boolean |
isExplicit |
This is true if this corresponds to a production that actually
appears in the input grammar.
|
int |
kind |
The kind of this token production - TOKEN, SKIP, MORE, or SPECIAL.
|
static java.lang.String[] |
kindImage |
The image of the above constants.
|
Token |
lastToken |
The first and last tokens from the input stream that represent this
production.
|
java.lang.String[] |
lexStates |
The states in which this regular expression production exists.
|
static int |
MORE |
Definitions of constants that identify the kind of regular
expression production this is.
|
java.util.List<RegExprSpec> |
respecs |
The list of regular expression specifications that comprise this
production.
|
static int |
SKIP |
Definitions of constants that identify the kind of regular
expression production this is.
|
static int |
SPECIAL |
Definitions of constants that identify the kind of regular
expression production this is.
|
static int |
TOKEN |
Definitions of constants that identify the kind of regular
expression production this is.
|
Constructor | Description |
---|---|
TokenProduction() |
Modifier and Type | Method | Description |
---|---|---|
int |
getColumn() |
|
int |
getLine() |
|
void |
setColumn(int column) |
|
void |
setLine(int line) |
public static final int TOKEN
public static final int SKIP
public static final int MORE
public static final int SPECIAL
public static final java.lang.String[] kindImage
public java.lang.String[] lexStates
public int kind
public java.util.List<RegExprSpec> respecs
public boolean isExplicit
public boolean ignoreCase
public Token firstToken
public Token lastToken