Package net.sf.tweety.lp.asp.parser
Interface Node
-
- All Known Implementing Classes:
ASTAggregate,ASTAggrElement,ASTAggrElementList,ASTAggrFunc,ASTAnswerSet,ASTAriTerm,ASTArithop,ASTBinop,ASTBody,ASTBodyList,ASTBuiltInAtom,ASTChoice,ASTChoiceElement,ASTChoiceElementList,ASTClingoMeta,ASTHead,ASTHeadElementsList,ASTID,ASTLiteral,ASTNAFLiteral,ASTNAFLiteralList,ASTNumber,ASTOpt,ASTOptElement,ASTOptElementList,ASTOptFunc,ASTProgram,ASTQuery,ASTRule,ASTRuleList,ASTString,ASTTerm,ASTTermList,ASTVar,ASTWeight,SimpleNode
public interface Node
-
-
Method Summary
Modifier and Type Method Description java.lang.ObjectjjtAccept(ASPCore2ParserVisitor visitor, java.lang.Object data)voidjjtAddChild(Node n, int i)voidjjtClose()This method is called after all the child nodes have been added.NodejjtGetChild(int i)intjjtGetNumChildren()NodejjtGetParent()voidjjtOpen()This method is called after the node has been made the current node.voidjjtSetParent(Node n)
-
-
-
Method Detail
-
jjtOpen
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.
-
jjtClose
void jjtClose()
This method is called after all the child nodes have been added.
-
jjtSetParent
void jjtSetParent(Node n)
-
jjtGetParent
Node jjtGetParent()
-
jjtAddChild
void jjtAddChild(Node n, int i)
-
jjtGetChild
Node jjtGetChild(int i)
-
jjtGetNumChildren
int jjtGetNumChildren()
-
jjtAccept
java.lang.Object jjtAccept(ASPCore2ParserVisitor visitor, java.lang.Object data)
-
-