Package net.sf.tweety.lp.asp.parser
Class ASTLiteral
- java.lang.Object
-
- net.sf.tweety.lp.asp.parser.SimpleNode
-
- net.sf.tweety.lp.asp.parser.ASTLiteral
-
- All Implemented Interfaces:
Node
public class ASTLiteral extends SimpleNode
-
-
Constructor Summary
Constructors Constructor Description ASTLiteral(int id)ASTLiteral(ASPCore2Parser p, int id)
-
Method Summary
-
Methods inherited from class net.sf.tweety.lp.asp.parser.SimpleNode
childrenAccept, dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString
-
-
-
-
Field Detail
-
neg
protected boolean neg
-
name
public String name
-
-
Constructor Detail
-
ASTLiteral
public ASTLiteral(int id)
-
ASTLiteral
public ASTLiteral(ASPCore2Parser p, int id)
-
-
Method Detail
-
jjtAccept
public Object jjtAccept(ASPCore2ParserVisitor visitor, Object data)
Accept the visitor.- Specified by:
jjtAcceptin interfaceNode- Overrides:
jjtAcceptin classSimpleNode
-
neg
public void neg(boolean b)
-
name
public void name(String n)
-
-