Class ClassicExpressionTokenizer

java.lang.Object
org.seasar.doma.internal.expr.ClassicExpressionTokenizer

public class ClassicExpressionTokenizer extends Object
  • Field Details

    • expression

      protected final String expression
    • buf

      protected final CharBuffer buf
    • duplicatedBuf

      protected final CharBuffer duplicatedBuf
    • type

      protected ExpressionTokenType type
    • token

      protected String token
    • position

      protected int position
    • binaryOpAvailable

      protected boolean binaryOpAvailable
  • Constructor Details

    • ClassicExpressionTokenizer

      public ClassicExpressionTokenizer(String expression)
  • Method Details

    • next

      public ExpressionTokenType next()
    • prepareToken

      protected void prepareToken()
    • getToken

      public String getToken()
    • getPosition

      public int getPosition()
    • setPosition

      public void setPosition(int position, boolean binaryOpAvailable)
    • peek

      protected void peek()
    • peekFiveChars

      protected void peekFiveChars(char c, char c2, char c3, char c4, char c5)
    • peekFourChars

      protected void peekFourChars(char c, char c2, char c3, char c4)
    • peekThreeChars

      protected void peekThreeChars(char c, char c2, char c3)
    • peekTwoChars

      protected void peekTwoChars(char c, char c2)
    • peekOneChar

      protected void peekOneChar(char c)
    • peekStaticMember

      protected void peekStaticMember()
    • peekNumber

      protected void peekNumber()
    • isWordTerminated

      protected boolean isWordTerminated()