public final class TLexerEntry extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TLexerEntry.Finisher
Packs together a description of one of the semantic
actions in a tagged lexer entry
|
Modifier and Type | Field and Description |
---|---|
List<TLexerEntry.Finisher> |
actions
The list of semantic actions
|
@Nullable Extent |
args
The list of formal arguments available in semantic actions
|
int |
memTags
The number of tags in the encoded entry
|
String |
name
The name of the lexer entry
|
TRegular |
regexp
The tagged regular expression encoding all clauses
|
Extent |
returnType
The return type of the semantic actions for this lexer entry
|
boolean |
shortest
Whether the shortest match priority should be used
|
boolean |
visibility
Whether this entry is public or not
|
Constructor and Description |
---|
TLexerEntry(boolean visibility,
String name,
Extent returnType,
boolean shortest,
@Nullable Extent args,
TRegular regexp,
int memTags,
List<TLexerEntry.Finisher> actions)
Builds an encoded lexer entry based on all the arguments
|
public final boolean visibility
public final String name
public final boolean shortest
public final Extent returnType
public final @Nullable Extent args
public final TRegular regexp
public final int memTags
public final List<TLexerEntry.Finisher> actions
public TLexerEntry(boolean visibility, String name, Extent returnType, boolean shortest, @Nullable Extent args, TRegular regexp, int memTags, List<TLexerEntry.Finisher> actions)
visibility
- name
- returnType
- shortest
- args
- regexp
- memTags
- actions
-