Class PrologParser

java.lang.Object
com.igormaznitsa.prologparser.PrologParser
All Implemented Interfaces:
Closeable, AutoCloseable, Iterable<PrologTerm>
Direct Known Subclasses:
GenericPrologParser

public abstract class PrologParser extends Object implements Iterable<PrologTerm>, Closeable
Abstract base Prolog parser.
  • Field Details

    • EMPTY_TERM_ARRAY

      public static final PrologTerm[] EMPTY_TERM_ARRAY
    • META_OP_MAP

      protected static final Koi7CharOpMap META_OP_MAP
    • OPERATOR_COMMA

      private static final OpContainer OPERATOR_COMMA
    • OPERATOR_LEFTBRACKET

      private static final OpContainer OPERATOR_LEFTBRACKET
    • OPERATOR_LEFTCURLYBRACKET

      private static final OpContainer OPERATOR_LEFTCURLYBRACKET
    • OPERATOR_RIGHTBRACKET

      private static final OpContainer OPERATOR_RIGHTBRACKET
    • OPERATOR_RIGHTCURLYBRACKET

      private static final OpContainer OPERATOR_RIGHTCURLYBRACKET
    • OPERATOR_RIGHTSQUAREBRACKET

      private static final OpContainer OPERATOR_RIGHTSQUAREBRACKET
    • OPERATOR_DOT

      private static final OpContainer OPERATOR_DOT
    • OPERATOR_VERTICALBAR

      private static final OpContainer OPERATOR_VERTICALBAR
    • OPERATORS_PHRASE

      private static final Koi7CharOpMap OPERATORS_PHRASE
    • OPERATORS_INSIDE_LIST

      private static final Koi7CharOpMap OPERATORS_INSIDE_LIST
    • OPERATORS_END_LIST

      private static final Koi7CharOpMap OPERATORS_END_LIST
    • OPERATORS_INSIDE_STRUCT

      private static final Koi7CharOpMap OPERATORS_INSIDE_STRUCT
    • OPERATORS_SUBBLOCK

      private static final Koi7CharOpMap OPERATORS_SUBBLOCK
    • OPERATORS_SUBBLOCK_CURLY

      private static final Koi7CharOpMap OPERATORS_SUBBLOCK_CURLY
    • autoCloseReaderFlag

      private volatile boolean autoCloseReaderFlag
    • context

      protected final ParserContext context
    • parserFlags

      protected final int parserFlags
    • tokenizer

      private final Tokenizer tokenizer
  • Constructor Details

  • Method Details