net.sf.parser4j.kernelgenerator.entity.grammarnode
Class AbstractMularyGrammarNode

java.lang.Object
  extended by net.sf.parser4j.kernelgenerator.entity.grammarnode.AbstractGrammarNode
      extended by net.sf.parser4j.kernelgenerator.entity.grammarnode.AbstractNonTerminalNode
          extended by net.sf.parser4j.kernelgenerator.entity.grammarnode.AbstractMularyGrammarNode
All Implemented Interfaces:
java.lang.Comparable<IGrammarNode>, IGrammarNode
Direct Known Subclasses:
AbstractGrammarNodeConcat, GrammarNodeAlternative

public abstract class AbstractMularyGrammarNode
extends AbstractNonTerminalNode

Author:
luc peuvrier

Field Summary
protected  java.util.List<OperandGrammarNode> operandList
           
 
Fields inherited from class net.sf.parser4j.kernelgenerator.entity.grammarnode.AbstractNonTerminalNode
EMPTY_LIST
 
Fields inherited from class net.sf.parser4j.kernelgenerator.entity.grammarnode.AbstractGrammarNode
emptyNonTerminal, matchClassSimpleName, nonTerminalName
 
Constructor Summary
protected AbstractMularyGrammarNode(EnumNodeType grammarNodeType)
           
 
Method Summary
 void accept(IGrammarNodeVisitor grammarNodeVisitor)
          visit by a visitor
protected  void assertOperandListSetted()
           
 java.util.List<OperandGrammarNode> getOperandList()
           
 int[] getRightPart()
           
 void setOperandList(java.util.List<OperandGrammarNode> operandList)
           
 
Methods inherited from class net.sf.parser4j.kernelgenerator.entity.grammarnode.AbstractNonTerminalNode
terminalValuesIterator
 
Methods inherited from class net.sf.parser4j.kernelgenerator.entity.grammarnode.AbstractGrammarNode
badRecognitionPointIndex, characterValueToString, compareTo, equals, getGrammarNodeType, getMatchClassSimpleName, getNonTerminalIdentifier, getNonTerminalName, hashCode, isEmptyNonTerminal, isEmptyType, isIntermediate, isNonTerminal, isStringTerminal, isStringToken, isTerminal, isToken, matchClassToString, nonTerminalToString, setMatchClassSimpleName, setNonTerminalIdentifier, setNonTerminalName, setStringToken, setToken, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.parser4j.kernelgenerator.entity.grammarnode.IGrammarNode
expectedNonTerminal, match, toDefinitionString
 

Field Detail

operandList

protected java.util.List<OperandGrammarNode> operandList
Constructor Detail

AbstractMularyGrammarNode

protected AbstractMularyGrammarNode(EnumNodeType grammarNodeType)
Method Detail

setOperandList

public void setOperandList(java.util.List<OperandGrammarNode> operandList)

getOperandList

public java.util.List<OperandGrammarNode> getOperandList()

getRightPart

public int[] getRightPart()
Returns:
right part of the rule represented by this grammar node

accept

public void accept(IGrammarNodeVisitor grammarNodeVisitor)
            throws GrammarNodeVisitException
Description copied from interface: IGrammarNode
visit by a visitor

Throws:
GrammarNodeVisitException

assertOperandListSetted

protected void assertOperandListSetted()


Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.