Class ASTArithop

java.lang.Object
org.tweetyproject.lp.asp.parser.SimpleNode
org.tweetyproject.lp.asp.parser.ASTArithop
All Implemented Interfaces:
Node

public class ASTArithop extends SimpleNode
ASTArithop class
Author:
Anna Gessler
  • Field Details

    • operator

      public String operator
      operator
  • Constructor Details

    • ASTArithop

      public ASTArithop(int id)
      constructor
      Parameters:
      id - ID
    • ASTArithop

      public ASTArithop(ASPParser p, int id)
      constructor
      Parameters:
      p - parser
      id - ID
  • Method Details

    • op

      public void op(String op)
      setter operation
      Parameters:
      op - op
    • jjtAccept

      public Object jjtAccept(ASPParserVisitor visitor, Object data)
      Accept the visitor.
      Specified by:
      jjtAccept in interface Node
      Overrides:
      jjtAccept in class SimpleNode
      Parameters:
      visitor - The visitor object.
      data - Additional data for the visitor.
      Returns:
      The result of visiting this node.