Top Methods
org.apache.commons.jexl2.parser

public Interface Node

Known Direct Implementers
org.apache.commons.jexl2.parser.SimpleNode

Method Summary

Modifier and TypeMethod and Description
public Object
jjtAccept(ParserVisitor visitor, Object data)

Accept the visitor.

public void
jjtAddChild(Node n, int i)

This method tells the node to add its argument to the node's list of children.

public void
jjtClose()

This method is called after all the child nodes have been added.

public Node
jjtGetChild(int i)

This method returns a child node.

public int
jjtGetNumChildren()

Return the number of children the node has.

public Node
public void
jjtOpen()

This method is called after the node has been made the current node.

public void
jjtSetParent(Node n)

This pair of methods are used to inform the node of its parent.

Method Detail

jjtAcceptback to summary
public Object jjtAccept(ParserVisitor visitor, Object data)

Accept the visitor.

jjtAddChildback to summary
public void jjtAddChild(Node n, int i)

This method tells the node to add its argument to the node's list of children.

jjtCloseback to summary
public void jjtClose()

This method is called after all the child nodes have been added.

jjtGetChildback to summary
public Node jjtGetChild(int i)

This method returns a child node. The children are numbered from zero, left to right.

jjtGetNumChildrenback to summary
public int jjtGetNumChildren()

Return the number of children the node has.

jjtGetParentback to summary
public Node jjtGetParent()
jjtOpenback to summary
public void jjtOpen()

This method is called after the node has been made the current node. It indicates that child nodes can now be added to it.

jjtSetParentback to summary
public void jjtSetParent(Node n)

This pair of methods are used to inform the node of its parent.