org.eclipse.xtext.serializer.sequencer
Class GenericSemanticSequencer.AllocationValue

java.lang.Object
  extended by org.eclipse.xtext.serializer.sequencer.GenericSemanticSequencer.Allocation
      extended by org.eclipse.xtext.serializer.sequencer.GenericSemanticSequencer.AllocationValue
Enclosing class:
GenericSemanticSequencer

protected class GenericSemanticSequencer.AllocationValue
extends GenericSemanticSequencer.Allocation


Field Summary
protected  int index
           
protected  INode node
           
protected  boolean optional
           
protected  java.lang.Object value
           
 
Constructor Summary
GenericSemanticSequencer.AllocationValue(java.lang.Object value, int index, boolean optional, INode node)
           
 
Method Summary
 void accept(org.eclipse.emf.ecore.EObject semanticObj, IGrammarConstraintProvider.IConstraintElement constraint)
           
 INode getNode()
           
 java.lang.Object getValue()
           
 java.lang.String toString(java.lang.String prefix)
           
 
Methods inherited from class org.eclipse.xtext.serializer.sequencer.GenericSemanticSequencer.Allocation
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

index

protected int index

node

protected INode node

value

protected java.lang.Object value

optional

protected boolean optional
Constructor Detail

GenericSemanticSequencer.AllocationValue

public GenericSemanticSequencer.AllocationValue(java.lang.Object value,
                                                int index,
                                                boolean optional,
                                                INode node)
Method Detail

accept

public void accept(org.eclipse.emf.ecore.EObject semanticObj,
                   IGrammarConstraintProvider.IConstraintElement constraint)
Specified by:
accept in class GenericSemanticSequencer.Allocation

getNode

public INode getNode()

getValue

public java.lang.Object getValue()

toString

public java.lang.String toString(java.lang.String prefix)
Specified by:
toString in class GenericSemanticSequencer.Allocation