Package net.diversionmc.parser.expression

  • Interface Summary
    Interface Description
    PiecePredicate
    Function that checks whether a piece is supposed to be created by a given character.
    PieceSupplier
    Function that converts a character into a matching piece.
  • Class Summary
    Class Description
    CharPiece  
    CommentPiece
    Can be inline or multiline, reads until newline or ‘*/'.
    ExpressionPiece
    Expression Pieces are the units of the text format.
    GroupPiece
    List of pieces (called group content).
    NamePiece
    Reads letters, digits, and some predefined characters.
    NumberPiece
    Reads until it is no longer able to parse a number.
    StringPiece
    Reads a string with escape sequences until it meets an end character (typically double or single quote).
  • Enum Summary
    Enum Description
    PieceResult
    Piece result shows whether a piece should stop consuming characters or continue.