net.sf.parser4j.kernelgenerator.entity.grammarnode.impl
Class GrammarNodeTerminalCharSet

java.lang.Object
  extended by net.sf.parser4j.kernelgenerator.entity.grammarnode.AbstractGrammarNode
      extended by net.sf.parser4j.kernelgenerator.entity.grammarnode.AbstractTerminalNode
          extended by net.sf.parser4j.kernelgenerator.entity.grammarnode.impl.GrammarNodeTerminalCharSet
All Implemented Interfaces:
java.lang.Comparable<IGrammarNode>, IGrammarNode

public class GrammarNodeTerminalCharSet
extends AbstractTerminalNode

terminal characters set grammar node

Author:
luc peuvrier

Field Summary
 
Fields inherited from class net.sf.parser4j.kernelgenerator.entity.grammarnode.AbstractGrammarNode
emptyNonTerminal, matchClassSimpleName, nonTerminalName
 
Constructor Summary
GrammarNodeTerminalCharSet()
           
 
Method Summary
 void setCharValueSet(java.util.Set<java.lang.Integer> charValueSet)
           
 java.util.Iterator<TerminalCharRange> terminalValuesIterator()
           
 java.lang.String toDefinitionString()
           
 java.lang.String toString()
          Returns a string full representation of the object.
 java.lang.String valueToString()
           
 
Methods inherited from class net.sf.parser4j.kernelgenerator.entity.grammarnode.AbstractTerminalNode
accept, expectedNonTerminal, getRightPart, match, setOperandList
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GrammarNodeTerminalCharSet

public GrammarNodeTerminalCharSet()
Method Detail

setCharValueSet

public void setCharValueSet(java.util.Set<java.lang.Integer> charValueSet)

terminalValuesIterator

public java.util.Iterator<TerminalCharRange> terminalValuesIterator()
Returns:
iterator on terminal values

valueToString

public java.lang.String valueToString()
Specified by:
valueToString in class AbstractTerminalNode

toDefinitionString

public java.lang.String toDefinitionString()

toString

public java.lang.String toString()
Description copied from interface: IGrammarNode
Returns a string full representation of the object.

Specified by:
toString in interface IGrammarNode
Overrides:
toString in class AbstractGrammarNode


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