org.antlr.analysis
public class ActionLabel extends Label
Modifier and Type | Field and Description |
---|---|
GrammarAST |
actionAST |
ACTION, DOWN, EOF, EOR_TOKEN_TYPE, EOT, EPSILON, EPSILON_STR, INVALID, label, labelSet, MAX_CHAR_VALUE, MIN_ATOM_VALUE, MIN_CHAR_VALUE, MIN_TOKEN_TYPE, NUM_FAUX_LABELS, SEMPRED, SET, UP
Constructor and Description |
---|
ActionLabel(GrammarAST actionAST) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAction() |
boolean |
isEpsilon() |
java.lang.String |
toString()
Predicates are lists of AST nodes from the NFA created from the
grammar, but the same predicate could be cut/paste into multiple
places in the grammar.
|
java.lang.String |
toString(Grammar g) |
public GrammarAST actionAST
public ActionLabel(GrammarAST actionAST)
public java.lang.String toString()
Label
Copyright © 2014. All Rights Reserved.