Package lp.parse

This package contains classes directly involved in tokenizing and parsing a textual input containing some kind of logic program.

See:
          Description

Class Summary
DlpParser This parser inherits all behaviour from LpParser.
DlpParserTest Contains tests of the DlpParser class.
EvolpParser Inherits the basic behaviour from LpParser and overrides some parts in order to parse the input according to this grammar: Rule ---> (Literal | InnerRule) DOT InnerRule ---> NormalRule | Constraint OrdinaryRule ---> Literal RULE_ARROW (Literal (COMMA Literal)*)?
EvolpParserTest Contains tests of the EvolpParser class.
EvolpParserTest2 Contains a test of the EvolpParser class that reuses data from LpPrettyPrinterTest.
LpLexer Class that tokenizes a textual input.
LpLexerTest Contains tests of the LpLexer class.
LpLookaheadLexer This class provides the same functionality as LpLexer and it offers the possibility to take a look at future tokens and not loose the current position in the input.
LpLookaheadLexerTest Contains tests of the LpLookaheadLexer class.
LpParser Processes textual input with a logic program or logic programming constructs and produces LpRule, LpLiteral and LpTerm objects.
LpParserTest Contains tests of the LpParser class.
LpParserTest2 Contains a test of the LpParser class that reuses data from LpPrettyPrinterTest.
LpToken An immutable container for information about 1 token in an input created by a LpLexer.
LpTokenTest Contains tests of the LpToken class.
 

Enum Summary
LpTokenType Enumeration of token types returned by a LpLexer and further used by parsers to parse source code.
 

Exception Summary
LpParserException An exception thrown by LpParser when it can't parse the input.
 

Package lp.parse Description

This package contains classes directly involved in tokenizing and parsing a textual input containing some kind of logic program.