Class StructuredFieldParserTokenManager

java.lang.Object
org.apache.james.mime4j.field.structured.parser.StructuredFieldParserTokenManager
All Implemented Interfaces:
StructuredFieldParserConstants

public class StructuredFieldParserTokenManager extends Object implements StructuredFieldParserConstants
Token Manager.
  • Field Details

    • commentNest

      int commentNest
    • debugStream

      public PrintStream debugStream
      Debug output.
    • jjbitVec0

      static final long[] jjbitVec0
    • jjstrLiteralImages

      public static final String[] jjstrLiteralImages
      Token literal values.
    • jjnextStates

      static final int[] jjnextStates
    • curLexState

      int curLexState
    • defaultLexState

      int defaultLexState
    • jjnewStateCnt

      int jjnewStateCnt
    • jjround

      int jjround
    • jjmatchedPos

      int jjmatchedPos
    • jjmatchedKind

      int jjmatchedKind
    • lexStateNames

      public static final String[] lexStateNames
      Lexer state names.
    • jjnewLexState

      public static final int[] jjnewLexState
      Lex State array.
    • jjtoToken

      static final long[] jjtoToken
    • jjtoSkip

      static final long[] jjtoSkip
    • jjtoSpecial

      static final long[] jjtoSpecial
    • jjtoMore

      static final long[] jjtoMore
    • input_stream

      protected SimpleCharStream input_stream
    • jjrounds

      private final int[] jjrounds
    • jjstateSet

      private final int[] jjstateSet
    • jjimage

      private final StringBuilder jjimage
    • image

      private StringBuilder image
    • jjimageLen

      private int jjimageLen
    • lengthOfMatch

      private int lengthOfMatch
    • curChar

      protected int curChar
  • Constructor Details

    • StructuredFieldParserTokenManager

      public StructuredFieldParserTokenManager(SimpleCharStream stream)
      Constructor.
    • StructuredFieldParserTokenManager

      public StructuredFieldParserTokenManager(SimpleCharStream stream, int lexState)
      Constructor.
  • Method Details

    • setDebugStream

      public void setDebugStream(PrintStream ds)
      Set debug output.
    • jjStopStringLiteralDfa_0

      private final int jjStopStringLiteralDfa_0(int pos, long active0)
    • jjStartNfa_0

      private final int jjStartNfa_0(int pos, long active0)
    • jjStopAtPos

      private int jjStopAtPos(int pos, int kind)
    • jjMoveStringLiteralDfa0_0

      private int jjMoveStringLiteralDfa0_0()
    • jjMoveNfa_0

      private int jjMoveNfa_0(int startState, int curPos)
    • jjStopStringLiteralDfa_1

      private final int jjStopStringLiteralDfa_1(int pos, long active0)
    • jjStartNfa_1

      private final int jjStartNfa_1(int pos, long active0)
    • jjMoveStringLiteralDfa0_1

      private int jjMoveStringLiteralDfa0_1()
    • jjMoveNfa_1

      private int jjMoveNfa_1(int startState, int curPos)
    • jjStopStringLiteralDfa_3

      private final int jjStopStringLiteralDfa_3(int pos, long active0)
    • jjStartNfa_3

      private final int jjStartNfa_3(int pos, long active0)
    • jjMoveStringLiteralDfa0_3

      private int jjMoveStringLiteralDfa0_3()
    • jjMoveNfa_3

      private int jjMoveNfa_3(int startState, int curPos)
    • jjStopStringLiteralDfa_2

      private final int jjStopStringLiteralDfa_2(int pos, long active0)
    • jjStartNfa_2

      private final int jjStartNfa_2(int pos, long active0)
    • jjMoveStringLiteralDfa0_2

      private int jjMoveStringLiteralDfa0_2()
    • jjMoveNfa_2

      private int jjMoveNfa_2(int startState, int curPos)
    • jjFillToken

      protected Token jjFillToken()
    • getNextToken

      public Token getNextToken()
      Get the next Token.
    • SkipLexicalActions

      void SkipLexicalActions(Token matchedToken)
    • MoreLexicalActions

      void MoreLexicalActions()
    • TokenLexicalActions

      void TokenLexicalActions(Token matchedToken)
    • jjCheckNAdd

      private void jjCheckNAdd(int state)
    • jjAddStates

      private void jjAddStates(int start, int end)
    • jjCheckNAddTwoStates

      private void jjCheckNAddTwoStates(int state1, int state2)
    • ReInit

      public void ReInit(SimpleCharStream stream)
      Reinitialise parser.
    • ReInitRounds

      private void ReInitRounds()
    • ReInit

      public void ReInit(SimpleCharStream stream, int lexState)
      Reinitialise parser.
    • SwitchTo

      public void SwitchTo(int lexState)
      Switch to specified lex state.