Package org.tweetyproject.lp.asp.parser
package org.tweetyproject.lp.asp.parser
-
ClassDescriptionToken literal values and constants.This class is a parser for the aspif (ASP Intermediate Format) format, the output language of gringo (https://potassco.org/clingo/).Tests for AspifParser (parser for the the output language of gringo).Parser for ASP programs in the ASP-Core-2 syntax (https://www.mat.unical.it/aspcomp2013/files/ASP-CORE-2.03c.pdf).Token literal values and constants.This class tests all important functions of the ASP-Core-2 Parser in combination with InstantiateVisitor, which is responsible for walking through the parse-tree and generating in-memory classes of the parsed ASP program.Token Manager.parser tree constantASPParserVisitor/** Represents an aggregate node in the abstract syntax tree (AST) for ASP parsing.ASTAggrElement classASTAggrElementList classclass ASTAggrFuncASTAnswerSetASTAriTerm classASTArithop classASTBinop classASTBody classASTBodyList classASTBuiltInAtom classASTChoice classASTChoiceElement classASTChoiceElementList classThe
ASTClingoIDclass represents a node in the abstract syntax tree (AST) corresponding to a Clingo identifier in the parsing process.TheASTClingoMetaclass represents a node in the abstract syntax tree (AST) for Clingo meta-statements in the parsing process.TheASTDlvArithmeticIDclass represents a node in the abstract syntax tree (AST) for arithmetic identifiers in the DLV language, a variant of Answer Set Programming (ASP).TheASTDlvIDclass 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).TheASTHeadclass represents a node in the abstract syntax tree (AST) for the head of a rule in the context of Answer Set Programming (ASP).TheASTHeadElementsListclass 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).TheASTIDclass represents a node in the abstract syntax tree (AST) for identifiers within the context of Answer Set Programming (ASP).TheASTLiteralclass represents a node in the abstract syntax tree (AST) for literals within the context of Answer Set Programming (ASP).TheASTNAFLiteralclass represents a node in the abstract syntax tree (AST) for literals with negation as failure (NAF) within the context of Answer Set Programming (ASP).TheASTNAFLiteralListclass 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).TheASTNumberclass represents a node in the abstract syntax tree (AST) for numerical values within the context of Answer Set Programming (ASP).TheASTOptclass represents a node in the abstract syntax tree (AST) for optimization statements within the context of Answer Set Programming (ASP).TheASTOptElementclass represents a node in the abstract syntax tree (AST) for an optimization element within the context of Answer Set Programming (ASP).Represents a node in the abstract syntax tree (AST) for an optional element list in the ASP (Answer Set Programming) parser.TheASTOptFuncclass represents a node in the abstract syntax tree (AST) for an optimization function within the context of Answer Set Programming (ASP).TheASTProgramclass represents a node in the abstract syntax tree (AST) for a program in the context of Answer Set Programming (ASP).TheASTQueryclass represents a node in the abstract syntax tree (AST) for a query in the context of Answer Set Programming (ASP).TheASTRuleclass represents a node in the abstract syntax tree (AST) for a rule in the context of Answer Set Programming (ASP).TheASTRuleListclass represents a node in the abstract syntax tree (AST) for a list of rules within the context of Answer Set Programming (ASP).TheASTStringclass represents a node in the abstract syntax tree (AST) for string literals within the context of Answer Set Programming (ASP).TheASTTermclass represents a term node in the abstract syntax tree (AST) within the context of Answer Set Programming (ASP).TheASTTermListclass represents a node in the abstract syntax tree (AST) for a list of terms within the context of Answer Set Programming (ASP).TheASTVarclass represents a variable node in the abstract syntax tree (AST) within the context of Answer Set Programming (ASP).Represents a node in the abstract syntax tree (AST) for a weight in the ASP (Answer Set Programming) parser.This visitor iterates over the AST generated by ASPParser and allocates classes representing the different parts of an ASP program or source file, meaning rules, literals, terms, answer sets, etc.Manages the state of the abstract syntax tree (AST) during parsing in the ASP parser.node interfdaceThis exception is thrown when parse errors are encountered.An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).A base class representing a node in the abstract syntax tree (AST) for the ASPParser.Describes the input token stream.Token Manager Error.