Class ScriptTokenizer

java.lang.Object
org.seasar.doma.internal.jdbc.command.ScriptTokenizer

public class ScriptTokenizer extends Object
  • Field Details

    • blockDelimiter

      protected final String blockDelimiter
    • line

      protected String line
    • pos

      protected int pos
    • nextPos

      protected int nextPos
    • length

      protected int length
    • token

      protected String token
    • type

      protected ScriptTokenType type
    • blockCommentStarted

      protected boolean blockCommentStarted
  • Constructor Details

    • ScriptTokenizer

      public ScriptTokenizer(String blockDelimiter)
  • Method Details

    • addLine

      public void addLine(String line)
    • peek

      protected void peek(int index)
    • peekChar

      protected void peekChar(int index, char c)
    • nextToken

      public ScriptTokenType nextToken()
    • isOther

      protected static boolean isOther(char c)
    • getToken

      public String getToken()