ee.cyber.simplicitas

parse

package parse

Visibility
  1. Public
  2. All
Impl.
  1. Concrete
  2. Abstract

Type Members

  1. class BranchIdentifier extends AnyRef

    The code tries to ensure that there are no name clashes for rule calls in different branches.

  2. case class CheckAll (s: List[Int]) extends StateOp with Product

  3. case class CheckAny (s: List[Int]) extends StateOp with Product

  4. case class EnterState (s: List[Int]) extends StateOp with Product

  5. class ErrorHandler extends AnyRef

    This machinery is needed for reporting parse errors.

  6. case class ExitState (s: List[Int]) extends StateOp with Product

  7. class FragmentRule extends TerminalFragment

    Fragment rules.

  8. class Generator extends AnyRef

  9. class GrammarBase [Node <: CommonNode, Kind] extends GenericGrammar with TokenClassifier[Kind]

    Base class for grammar that is parameterized by the node type and list of token kinds.

  10. class GrammarException extends Exception

  11. class GrammarGen extends AnyRef

    This is the main program for grammar generation.

  12. class GrammarTask extends Task

    Ant task for compiling Simpl grammars.

  13. class LexerState extends AnyRef

    Helper class to manage stack of lexer states.

  14. class LiteralRule extends Rule

    Literal rules are automatically generated and correspond to keywords or operators in the grammar (essentially, everything between quotation marks).

  15. case class NoStateOp () extends StateOp with Product

  16. class NonTerminalRule extends Rule

    Base class for normal and option rules.

  17. class NormalRule extends NonTerminalRule

    Normal nonterminal rule in the form:

  18. class OptionRule extends NonTerminalRule

    Option rules:

  19. class ParserBase extends Parser

    Base class for generated ANTLR parsers.

  20. class Rule extends AnyRef

    Represents a rule in the grammar.

  21. class RuleClass extends AnyRef

    Represents class or trait that is generated from a grammar rule.

  22. class RuleClassParam extends AnyRef

    Constructor parameter for rule class.

  23. class RuleParam extends AnyRef

    Information about other rule that is called from current rule.

  24. class StateOp extends AnyRef

    Classes for storing operations on lexer states.

  25. trait SymbolTable extends AnyRef

    Contains the symbols that are found in the grammar.

  26. class TerminalFragment extends Rule

    Base class for terminal and fragment, but not for literal rules.

  27. class TerminalRule extends TerminalFragment

    Normal terminal rules in the grammar.

  28. trait TokenClassifier [Type] extends TokenClassifierConstants

  29. trait TokenClassifierConstants extends AnyRef

  30. class TokenImpl [Type] extends CommonToken[Type] with TokenClassifierConstants

  31. class TokenLocation extends SourceLocation

    Implements the SourceLocation interface using ANTLR tokens.

  32. class TokenSourceWrapper [Type] extends TokenSource

Value Members

  1. object Actions extends AnyRef

  2. object BranchIdentifier extends AnyRef

  3. object Generate extends AnyRef

  4. object GrammarUtils extends AnyRef

    Various utility methods useful for grammar generation.

  5. object Modifier extends Enumeration

    Possible multiplicity modifiers for patterns.

  6. object NamingService extends AnyRef

    Checks whether some strings can be used as identifiers (rule names, parameter names, etc.