Uses of Interface
org.tweetyproject.lp.asp.parser.Node
Packages that use Node
-
Uses of Node in org.tweetyproject.lp.asp.parser
Classes in org.tweetyproject.lp.asp.parser that implement NodeModifier and TypeClassDescriptionclass/** Represents an aggregate node in the abstract syntax tree (AST) for ASP parsing.classASTAggrElement classclassASTAggrElementList classclassclass ASTAggrFuncclassASTAnswerSetclassASTAriTerm classclassASTArithop classclassASTBinop classclassASTBody classclassASTBodyList classclassASTBuiltInAtom classclassASTChoice classclassASTChoiceElement classclassASTChoiceElementList classclassTheASTClingoIDclass represents a node in the abstract syntax tree (AST) corresponding to a Clingo identifier in the parsing process.classTheASTClingoMetaclass represents a node in the abstract syntax tree (AST) for Clingo meta-statements in the parsing process.classTheASTDlvArithmeticIDclass represents a node in the abstract syntax tree (AST) for arithmetic identifiers in the DLV language, a variant of Answer Set Programming (ASP).classTheASTDlvIDclass 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).classTheASTHeadclass represents a node in the abstract syntax tree (AST) for the head of a rule in the context of Answer Set Programming (ASP).classTheASTHeadElementsListclass 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).classTheASTIDclass represents a node in the abstract syntax tree (AST) for identifiers within the context of Answer Set Programming (ASP).classTheASTLiteralclass represents a node in the abstract syntax tree (AST) for literals within the context of Answer Set Programming (ASP).classTheASTNAFLiteralclass represents a node in the abstract syntax tree (AST) for literals with negation as failure (NAF) within the context of Answer Set Programming (ASP).classTheASTNAFLiteralListclass 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).classTheASTNumberclass represents a node in the abstract syntax tree (AST) for numerical values within the context of Answer Set Programming (ASP).classTheASTOptclass represents a node in the abstract syntax tree (AST) for optimization statements within the context of Answer Set Programming (ASP).classTheASTOptElementclass represents a node in the abstract syntax tree (AST) for an optimization element within the context of Answer Set Programming (ASP).classRepresents a node in the abstract syntax tree (AST) for an optional element list in the ASP (Answer Set Programming) parser.classTheASTOptFuncclass represents a node in the abstract syntax tree (AST) for an optimization function within the context of Answer Set Programming (ASP).classTheASTProgramclass represents a node in the abstract syntax tree (AST) for a program in the context of Answer Set Programming (ASP).classTheASTQueryclass represents a node in the abstract syntax tree (AST) for a query in the context of Answer Set Programming (ASP).classTheASTRuleclass represents a node in the abstract syntax tree (AST) for a rule in the context of Answer Set Programming (ASP).classTheASTRuleListclass represents a node in the abstract syntax tree (AST) for a list of rules within the context of Answer Set Programming (ASP).classTheASTStringclass represents a node in the abstract syntax tree (AST) for string literals within the context of Answer Set Programming (ASP).classTheASTTermclass represents a term node in the abstract syntax tree (AST) within the context of Answer Set Programming (ASP).classTheASTTermListclass represents a node in the abstract syntax tree (AST) for a list of terms within the context of Answer Set Programming (ASP).classTheASTVarclass represents a variable node in the abstract syntax tree (AST) within the context of Answer Set Programming (ASP).classRepresents a node in the abstract syntax tree (AST) for a weight in the ASP (Answer Set Programming) parser.classA base class representing a node in the abstract syntax tree (AST) for the ASPParser.Methods in org.tweetyproject.lp.asp.parser that return NodeModifier and TypeMethodDescriptionNode.jjtGetChild(int i) This method returns a child node.SimpleNode.jjtGetChild(int i) Gets the child node at the specified index.Node.jjtGetParent()Get parent nodeSimpleNode.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 NodeModifier and TypeMethodDescriptionvoidJJTASPParserState.clearNodeScope(Node n) Clears the current node scope by popping all nodes from the stack that belong to the current scope.voidJJTASPParserState.closeNodeScope(Node n, boolean condition) A conditional node is constructed if its condition is true.voidJJTASPParserState.closeNodeScope(Node n, int num) Closes the current node scope and constructs a definite node from a specified number of children.voidNode.jjtAddChild(Node n, int i) This method tells the node to add its argument to the node's list of children.voidSimpleNode.jjtAddChild(Node n, int i) Adds a child node to this node at the specified index.voidNode.jjtSetParent(Node n) This pair of methods are used to inform the node of its parent.voidSimpleNode.jjtSetParent(Node n) Sets the parent of this node in the AST.voidJJTASPParserState.openNodeScope(Node n) Opens a new node scope by marking the current stack position.voidPushes a node onto the stack.