Package org.tweetyproject.lp.asp.parser
Class SimpleNode
java.lang.Object
org.tweetyproject.lp.asp.parser.SimpleNode
- All Implemented Interfaces:
Node
- Direct Known Subclasses:
ASTAggregate
,ASTAggrElement
,ASTAggrElementList
,ASTAggrFunc
,ASTAnswerSet
,ASTAriTerm
,ASTArithop
,ASTBinop
,ASTBody
,ASTBodyList
,ASTBuiltInAtom
,ASTChoice
,ASTChoiceElement
,ASTChoiceElementList
,ASTClingoID
,ASTClingoMeta
,ASTDlvArithmeticID
,ASTDlvID
,ASTHead
,ASTHeadElementsList
,ASTID
,ASTLiteral
,ASTNAFLiteral
,ASTNAFLiteralList
,ASTNumber
,ASTOpt
,ASTOptElement
,ASTOptElementList
,ASTOptFunc
,ASTProgram
,ASTQuery
,ASTRule
,ASTRuleList
,ASTString
,ASTTerm
,ASTTermList
,ASTVar
,ASTWeight
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchildrenAccept
(ASPParserVisitor visitor, Object data) void
jjtAccept
(ASPParserVisitor visitor, Object data) void
jjtAddChild
(Node n, int i) void
jjtClose()
This method is called after all the child nodes have been added.jjtGetChild
(int i) int
void
jjtOpen()
This method is called after the node has been made the current node.void
jjtSetParent
(Node n) void
jjtSetValue
(Object value) toString()
-
Constructor Details
-
SimpleNode
public SimpleNode(int i) -
SimpleNode
-
-
Method Details
-
jjtOpen
public void jjtOpen()Description copied from interface:Node
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
public void jjtClose()Description copied from interface:Node
This method is called after all the child nodes have been added. -
jjtSetParent
- Specified by:
jjtSetParent
in interfaceNode
-
jjtGetParent
- Specified by:
jjtGetParent
in interfaceNode
-
jjtAddChild
- Specified by:
jjtAddChild
in interfaceNode
-
jjtGetChild
- Specified by:
jjtGetChild
in interfaceNode
-
jjtGetNumChildren
public int jjtGetNumChildren()- Specified by:
jjtGetNumChildren
in interfaceNode
-
jjtSetValue
-
jjtGetValue
-
jjtAccept
-
childrenAccept
-
toString
-
toString
-
dump
-