org.eclipse.xtext.nodemodel
Interface ILeafNode

All Superinterfaces:
INode
All Known Implementing Classes:
HiddenLeafNode, HiddenLeafNodeWithSyntaxError, LeafNode, LeafNodeWithSyntaxError

public interface ILeafNode
extends INode

A leaf node in the parse tree.

Author:
Sebastian Zarnekow - Initial contribution and API

Method Summary
 boolean isHidden()
          Returns true if the node was produced by a hidden token.
 
Methods inherited from interface org.eclipse.xtext.nodemodel.INode
getAsTreeIterable, getEndLine, getGrammarElement, getLeafNodes, getLength, getNextSibling, getOffset, getParent, getPreviousSibling, getRootNode, getSemanticElement, getStartLine, getSyntaxErrorMessage, getText, getTotalEndLine, getTotalEndOffset, getTotalLength, getTotalOffset, getTotalStartLine, hasDirectSemanticElement, hasNextSibling, hasPreviousSibling, hasSiblings
 

Method Detail

isHidden

boolean isHidden()
Returns true if the node was produced by a hidden token.

Returns:
true if the node was produced by a hidden token.