|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGrammarNode
grammar node interface
Method Summary | |
---|---|
void |
accept(IGrammarNodeVisitor grammarNodeVisitor)
visit by a visitor |
java.util.List<OperandGrammarNode> |
expectedNonTerminal(int recognitionPointIndex)
|
EnumNodeType |
getGrammarNodeType()
|
java.lang.String |
getMatchClassSimpleName()
|
int |
getNonTerminalIdentifier()
|
java.lang.String |
getNonTerminalName()
|
int[] |
getRightPart()
|
boolean |
isEmptyNonTerminal()
|
boolean |
isEmptyType()
|
boolean |
isIntermediate()
|
boolean |
isNonTerminal()
|
boolean |
isStringTerminal()
|
boolean |
isStringToken()
|
boolean |
isTerminal()
|
boolean |
isToken()
|
boolean |
match(int recognitionPointIndex)
|
void |
setMatchClassSimpleName(java.lang.String matchClassSimpleName)
|
void |
setNonTerminalIdentifier(int nonTerminalIdentifier,
boolean intermediate)
|
void |
setNonTerminalName(java.lang.String nonTerminalName)
|
void |
setOperandList(java.util.List<OperandGrammarNode> operandList)
|
void |
setStringToken(boolean stringToken)
|
void |
setToken(boolean token)
|
java.util.Iterator<TerminalCharRange> |
terminalValuesIterator()
|
java.lang.String |
toDefinitionString()
|
java.lang.String |
toString()
Returns a string full representation of the object. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
int getNonTerminalIdentifier()
java.lang.String getNonTerminalName()
void setNonTerminalIdentifier(int nonTerminalIdentifier, boolean intermediate)
nonTerminalIdentifier
- non terminal identifierintermediate
- void setNonTerminalName(java.lang.String nonTerminalName)
nonTerminalName
- non terminal namevoid setOperandList(java.util.List<OperandGrammarNode> operandList)
EnumNodeType getGrammarNodeType()
boolean isTerminal()
boolean isNonTerminal()
boolean isStringTerminal()
boolean isEmptyType()
void setToken(boolean token)
boolean isToken()
void setStringToken(boolean stringToken)
boolean isStringToken()
java.util.Iterator<TerminalCharRange> terminalValuesIterator()
void setMatchClassSimpleName(java.lang.String matchClassSimpleName)
matchClassSimpleName
- match manager class simple namejava.lang.String getMatchClassSimpleName()
boolean match(int recognitionPointIndex)
recognitionPointIndex
-
java.lang.IllegalArgumentException
- bad recognition point index valuejava.util.List<OperandGrammarNode> expectedNonTerminal(int recognitionPointIndex)
recognitionPointIndex
-
java.lang.IllegalArgumentException
- bad recognition point index valueint[] getRightPart()
boolean isEmptyNonTerminal()
void accept(IGrammarNodeVisitor grammarNodeVisitor) throws GrammarNodeVisitException
grammarNodeVisitor
-
GrammarNodeVisitException
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toDefinitionString()
boolean isIntermediate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |