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
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
name
-
Constructor Summary
Constructors Constructor Description ASTLiteral(int id)
ASTLiteral(ASPCore2Parser p, int id)
-
Method Summary
Modifier and Type Method Description java.lang.Object
jjtAccept(ASPCore2ParserVisitor visitor, java.lang.Object data)
Accept the visitor.void
name(java.lang.String n)
void
neg(boolean b)
-
Methods inherited from class net.sf.tweety.lp.asp.parser.SimpleNode
childrenAccept, dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString
-
-
-
-
Constructor Detail
-
ASTLiteral
public ASTLiteral(int id)
-
ASTLiteral
public ASTLiteral(ASPCore2Parser p, int id)
-
-
Method Detail
-
jjtAccept
public java.lang.Object jjtAccept(ASPCore2ParserVisitor visitor, java.lang.Object data)
Accept the visitor.- Specified by:
jjtAccept
in interfaceNode
- Overrides:
jjtAccept
in classSimpleNode
-
neg
public void neg(boolean b)
-
name
public void name(java.lang.String n)
-
-