Package org.tweetyproject.lp.asp.parser
Class ASTBody
java.lang.Object
org.tweetyproject.lp.asp.parser.SimpleNode
org.tweetyproject.lp.asp.parser.ASTBody
- All Implemented Interfaces:
Node
ASTBody class
- Author:
- Anna Gessler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjjtAccept(ASPParserVisitor visitor, Object data) Accept the visitor.voidnafneg(boolean b) Set nafnegMethods inherited from class org.tweetyproject.lp.asp.parser.SimpleNode
childrenAccept, dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString
-
Constructor Details
-
ASTBody
public ASTBody(int id) Constructor- Parameters:
id- ID
-
ASTBody
Constrcutor- Parameters:
p- parerid- ID
-
-
Method Details
-
jjtAccept
Accept the visitor.- Specified by:
jjtAcceptin interfaceNode- Overrides:
jjtAcceptin classSimpleNode- Parameters:
visitor- The visitor object.data- Additional data for the visitor.- Returns:
- The result of visiting this node.
-
nafneg
public void nafneg(boolean b) Set nafneg- Parameters:
b- nafneg
-