Enum Class ParserPhase

java.lang.Object
java.lang.Enum<ParserPhase>
com.vladsch.flexmark.parser.block.ParserPhase
All Implemented Interfaces:
Serializable, Comparable<ParserPhase>, Constable

public enum ParserPhase extends Enum<ParserPhase>
Current Parser Phase as the document is parsed.

This enum is not visible by clients.

  • Enum Constant Details

    • NONE

      public static final ParserPhase NONE
    • STARTING

      public static final ParserPhase STARTING
    • PARSE_BLOCKS

      public static final ParserPhase PARSE_BLOCKS
    • PRE_PROCESS_PARAGRAPHS

      public static final ParserPhase PRE_PROCESS_PARAGRAPHS
    • PRE_PROCESS_BLOCKS

      public static final ParserPhase PRE_PROCESS_BLOCKS
    • PARSE_INLINES

      public static final ParserPhase PARSE_INLINES
    • DONE

      public static final ParserPhase DONE
  • Constructor Details

    • ParserPhase

      private ParserPhase()
  • Method Details

    • values

      public static ParserPhase[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ParserPhase valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null