public abstract class RowRegexExprNode extends java.lang.Object implements MetaDefItem, java.io.Serializable
Constructor and Description |
---|
RowRegexExprNode()
Constructor creates a list of child nodes.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(RowRegexExprNodeVisitor visitor) |
void |
acceptChildnodes(RowRegexExprNodeVisitor visitor,
RowRegexExprNode parent,
int level) |
void |
addChildNode(RowRegexExprNode childNode)
Adds a child node.
|
void |
dumpDebug(java.lang.String prefix)
Recursively print out all nodes.
|
java.util.List<RowRegexExprNode> |
getChildNodes()
Returns list of child nodes.
|
abstract RowRegexExprNodePrecedenceEnum |
getPrecedence() |
void |
replaceChildNode(RowRegexExprNode nodeToReplace,
java.util.List<RowRegexExprNode> replacementNodes) |
void |
toEPL(java.io.StringWriter writer,
RowRegexExprNodePrecedenceEnum parentPrecedence) |
abstract void |
toPrecedenceFreeEPL(java.io.StringWriter writer) |
public RowRegexExprNode()
public abstract RowRegexExprNodePrecedenceEnum getPrecedence()
public abstract void toPrecedenceFreeEPL(java.io.StringWriter writer)
public final void toEPL(java.io.StringWriter writer, RowRegexExprNodePrecedenceEnum parentPrecedence)
public final void addChildNode(RowRegexExprNode childNode)
childNode
- is the child evaluation tree node to addpublic final java.util.List<RowRegexExprNode> getChildNodes()
public final void dumpDebug(java.lang.String prefix)
prefix
- is printed out for naming the printed infopublic void accept(RowRegexExprNodeVisitor visitor)
public void acceptChildnodes(RowRegexExprNodeVisitor visitor, RowRegexExprNode parent, int level)
public void replaceChildNode(RowRegexExprNode nodeToReplace, java.util.List<RowRegexExprNode> replacementNodes)