Uses of Interface
org.tweetyproject.lp.asp.parser.Node

Packages that use Node
Package
Description
 
  • Uses of Node in org.tweetyproject.lp.asp.parser

    Classes in org.tweetyproject.lp.asp.parser that implement Node
    Modifier and Type
    Class
    Description
    class 
    /** Represents an aggregate node in the abstract syntax tree (AST) for ASP parsing.
    class 
    ASTAggrElement class
    class 
    ASTAggrElementList class
    class 
    class ASTAggrFunc
    class 
    ASTAnswerSet
    class 
    ASTAriTerm class
    class 
    ASTArithop class
    class 
    ASTBinop class
    class 
    ASTBody class
    class 
    ASTBodyList class
    class 
    ASTBuiltInAtom class
    class 
    ASTChoice class
    class 
    ASTChoiceElement class
    class 
    ASTChoiceElementList class
    class 
    The ASTClingoID class represents a node in the abstract syntax tree (AST) corresponding to a Clingo identifier in the parsing process.
    class 
    The ASTClingoMeta class represents a node in the abstract syntax tree (AST) for Clingo meta-statements in the parsing process.
    class 
    The ASTDlvArithmeticID class represents a node in the abstract syntax tree (AST) for arithmetic identifiers in the DLV language, a variant of Answer Set Programming (ASP).
    class 
    The ASTDlvID class represents a node in the abstract syntax tree (AST) for identifiers in the DLV language, which is a logic programming language used in Answer Set Programming (ASP).
    class 
    The ASTHead class represents a node in the abstract syntax tree (AST) for the head of a rule in the context of Answer Set Programming (ASP).
    class 
    The ASTHeadElementsList class represents a node in the abstract syntax tree (AST) for a list of elements that make up the head of a rule in the context of Answer Set Programming (ASP).
    class 
    The ASTID class represents a node in the abstract syntax tree (AST) for identifiers within the context of Answer Set Programming (ASP).
    class 
    The ASTLiteral class represents a node in the abstract syntax tree (AST) for literals within the context of Answer Set Programming (ASP).
    class 
    The ASTNAFLiteral class represents a node in the abstract syntax tree (AST) for literals with negation as failure (NAF) within the context of Answer Set Programming (ASP).
    class 
    The ASTNAFLiteralList class represents a node in the abstract syntax tree (AST) for a list of literals that may include negation as failure (NAF) within the context of Answer Set Programming (ASP).
    class 
    The ASTNumber class represents a node in the abstract syntax tree (AST) for numerical values within the context of Answer Set Programming (ASP).
    class 
    The ASTOpt class represents a node in the abstract syntax tree (AST) for optimization statements within the context of Answer Set Programming (ASP).
    class 
    The ASTOptElement class represents a node in the abstract syntax tree (AST) for an optimization element within the context of Answer Set Programming (ASP).
    class 
    Represents a node in the abstract syntax tree (AST) for an optional element list in the ASP (Answer Set Programming) parser.
    class 
    The ASTOptFunc class represents a node in the abstract syntax tree (AST) for an optimization function within the context of Answer Set Programming (ASP).
    class 
    The ASTProgram class represents a node in the abstract syntax tree (AST) for a program in the context of Answer Set Programming (ASP).
    class 
    The ASTQuery class represents a node in the abstract syntax tree (AST) for a query in the context of Answer Set Programming (ASP).
    class 
    The ASTRule class represents a node in the abstract syntax tree (AST) for a rule in the context of Answer Set Programming (ASP).
    class 
    The ASTRuleList class represents a node in the abstract syntax tree (AST) for a list of rules within the context of Answer Set Programming (ASP).
    class 
    The ASTString class represents a node in the abstract syntax tree (AST) for string literals within the context of Answer Set Programming (ASP).
    class 
    The ASTTerm class represents a term node in the abstract syntax tree (AST) within the context of Answer Set Programming (ASP).
    class 
    The ASTTermList class represents a node in the abstract syntax tree (AST) for a list of terms within the context of Answer Set Programming (ASP).
    class 
    The ASTVar class represents a variable node in the abstract syntax tree (AST) within the context of Answer Set Programming (ASP).
    class 
    Represents a node in the abstract syntax tree (AST) for a weight in the ASP (Answer Set Programming) parser.
    class 
    A base class representing a node in the abstract syntax tree (AST) for the ASPParser.
    Methods in org.tweetyproject.lp.asp.parser that return Node
    Modifier and Type
    Method
    Description
    Node.jjtGetChild(int i)
    This method returns a child node.
    SimpleNode.jjtGetChild(int i)
    Gets the child node at the specified index.
    Get parent node
    SimpleNode.jjtGetParent()
    Gets the parent of this node in the AST.
    JJTASPParserState.peekNode()
    Returns the node currently on the top of the stack without removing it.
    JJTASPParserState.popNode()
    Returns the node on the top of the stack and removes it from the stack.
    JJTASPParserState.rootNode()
    Returns the root node of the AST.
    Methods in org.tweetyproject.lp.asp.parser with parameters of type Node
    Modifier and Type
    Method
    Description
    void
    JJTASPParserState.clearNodeScope(Node n)
    Clears the current node scope by popping all nodes from the stack that belong to the current scope.
    void
    JJTASPParserState.closeNodeScope(Node n, boolean condition)
    A conditional node is constructed if its condition is true.
    void
    JJTASPParserState.closeNodeScope(Node n, int num)
    Closes the current node scope and constructs a definite node from a specified number of children.
    void
    Node.jjtAddChild(Node n, int i)
    This method tells the node to add its argument to the node's list of children.
    void
    SimpleNode.jjtAddChild(Node n, int i)
    Adds a child node to this node at the specified index.
    void
    This pair of methods are used to inform the node of its parent.
    void
    SimpleNode.jjtSetParent(Node n)
    Sets the parent of this node in the AST.
    void
    JJTASPParserState.openNodeScope(Node n)
    Opens a new node scope by marking the current stack position.
    void
    JJTASPParserState.pushNode(Node n)
    Pushes a node onto the stack.