org.eclipse.xtext.nodemodel.impl
Class CompositeNodeWithSyntaxError

java.lang.Object
  extended by org.eclipse.xtext.nodemodel.impl.AbstractNode
      extended by org.eclipse.xtext.nodemodel.impl.CompositeNode
          extended by org.eclipse.xtext.nodemodel.impl.CompositeNodeWithSyntaxError
All Implemented Interfaces:
java.lang.Iterable<INode>, BidiIterable<INode>, BidiTreeIterable<INode>, ICompositeNode, INode

public class CompositeNodeWithSyntaxError
extends CompositeNode

Author:
Sebastian Zarnekow - Initial contribution and API, Mark Christiaens - Serialization support
This class is not intended to be subclassed by clients.
This class is not intended to be subclassed by clients.

Constructor Summary
CompositeNodeWithSyntaxError()
           
 
Method Summary
protected  void basicSetSyntaxErrorMessage(SyntaxErrorMessage syntaxErrorMessage)
           
 SyntaxErrorMessage getSyntaxErrorMessage()
          Returns the directly associated syntax error message or null if none.
 
Methods inherited from class org.eclipse.xtext.nodemodel.impl.CompositeNode
basicGetChildren, basicGetFirstChild, basicGetLastChild, basicSetFirstChild, basicSetLookAhead, getChildren, getFirstChild, getGrammarElement, getLastChild, getLookAhead, getTotalLength, getTotalOffset, hasChildren, isFolded, isFolded, resolveAsParent
 
Methods inherited from class org.eclipse.xtext.nodemodel.impl.AbstractNode
basicGetGrammarElement, basicGetLineOfOffset, basicGetNextSibling, basicGetParent, basicGetPreviousSibling, basicGetSemanticElement, basicHasNextSibling, basicHasPreviousSibling, basicHasSiblings, basicIterator, basicSetGrammarElement, basicSetNextSibling, basicSetParent, basicSetPreviousSibling, getAsTreeIterable, getEndLine, getLeafNodes, getLength, getNextSibling, getOffset, getParent, getPreviousSibling, getRootNode, getSemanticElement, getStartLine, getText, getTotalEndLine, getTotalEndOffset, getTotalStartLine, hasDirectSemanticElement, hasNextSibling, hasPreviousSibling, hasSiblings, iterator, reverse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.xtext.nodemodel.INode
getAsTreeIterable, getEndLine, getLeafNodes, getLength, getNextSibling, getOffset, getParent, getPreviousSibling, getRootNode, getSemanticElement, getStartLine, getText, getTotalEndLine, getTotalEndOffset, getTotalStartLine, hasDirectSemanticElement, hasNextSibling, hasPreviousSibling, hasSiblings
 

Constructor Detail

CompositeNodeWithSyntaxError

public CompositeNodeWithSyntaxError()
Method Detail

getSyntaxErrorMessage

public SyntaxErrorMessage getSyntaxErrorMessage()
Description copied from interface: INode
Returns the directly associated syntax error message or null if none.

Specified by:
getSyntaxErrorMessage in interface INode
Overrides:
getSyntaxErrorMessage in class AbstractNode
Returns:
the directly associated syntax error message. May return null.

basicSetSyntaxErrorMessage

protected void basicSetSyntaxErrorMessage(SyntaxErrorMessage syntaxErrorMessage)