Class AstNode
java.lang.Object
org.infosmid.stream.dsl.AstNode
- Direct Known Subclasses:
AppNode, ArgumentNode, DestinationNode, LabelNode, SinkDestinationNode, SourceDestinationNode, StreamNode
Common supertype for the ast nodes built during stream parsing.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
startPos
protected int startPos -
endPos
protected int endPos
-
-
Constructor Details
-
AstNode
public AstNode(int startPos, int endPos)
-
-
Method Details
-
getStartPos
public int getStartPos() -
getEndPos
public int getEndPos() -
stringify
- Parameters:
includePositionInfo- position information is returned as a part of the result if set to true.- Returns:
- a string representation of the AST. Useful for debugging/testing.
-
stringify
-