Uses of Interface
org.tweetyproject.lp.asp.parser.Node
-
Uses of Node in org.tweetyproject.lp.asp.parser
Modifier and TypeClassDescriptionclass
/** Represents an aggregate node in the abstract syntax tree (AST) for ASP parsing.class
ASTAggrElement classclass
ASTAggrElementList classclass
class ASTAggrFuncclass
ASTAnswerSetclass
ASTAriTerm classclass
ASTArithop classclass
ASTBinop classclass
ASTBody classclass
ASTBodyList classclass
ASTBuiltInAtom classclass
ASTChoice classclass
ASTChoiceElement classclass
ASTChoiceElementList classclass
TheASTClingoID
class represents a node in the abstract syntax tree (AST) corresponding to a Clingo identifier in the parsing process.class
TheASTClingoMeta
class represents a node in the abstract syntax tree (AST) for Clingo meta-statements in the parsing process.class
TheASTDlvArithmeticID
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
TheASTDlvID
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
TheASTHead
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
TheASTHeadElementsList
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
TheASTID
class represents a node in the abstract syntax tree (AST) for identifiers within the context of Answer Set Programming (ASP).class
TheASTLiteral
class represents a node in the abstract syntax tree (AST) for literals within the context of Answer Set Programming (ASP).class
TheASTNAFLiteral
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
TheASTNAFLiteralList
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
TheASTNumber
class represents a node in the abstract syntax tree (AST) for numerical values within the context of Answer Set Programming (ASP).class
TheASTOpt
class represents a node in the abstract syntax tree (AST) for optimization statements within the context of Answer Set Programming (ASP).class
TheASTOptElement
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
TheASTOptFunc
class represents a node in the abstract syntax tree (AST) for an optimization function within the context of Answer Set Programming (ASP).class
TheASTProgram
class represents a node in the abstract syntax tree (AST) for a program in the context of Answer Set Programming (ASP).class
TheASTQuery
class represents a node in the abstract syntax tree (AST) for a query in the context of Answer Set Programming (ASP).class
TheASTRule
class represents a node in the abstract syntax tree (AST) for a rule in the context of Answer Set Programming (ASP).class
TheASTRuleList
class represents a node in the abstract syntax tree (AST) for a list of rules within the context of Answer Set Programming (ASP).class
TheASTString
class represents a node in the abstract syntax tree (AST) for string literals within the context of Answer Set Programming (ASP).class
TheASTTerm
class represents a term node in the abstract syntax tree (AST) within the context of Answer Set Programming (ASP).class
TheASTTermList
class represents a node in the abstract syntax tree (AST) for a list of terms within the context of Answer Set Programming (ASP).class
TheASTVar
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.Modifier 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.Modifier and TypeMethodDescriptionvoid
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
Node.jjtSetParent
(Node n) 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
Pushes a node onto the stack.