Class JavaTokenizer

java.lang.Object
com.inductiveautomation.snap.parse.Tokenizer
com.inductiveautomation.snap.javaparse.JavaTokenizer

public class JavaTokenizer extends Tokenizer
A tokenizer for Java input.
  • Constructor Details

    • JavaTokenizer

      public JavaTokenizer()
  • Method Details

    • getNextSpecialToken

      public Token getNextSpecialToken()
      Processes and returns next special token.
      Overrides:
      getNextSpecialToken in class Tokenizer
    • getNextSpecialTokenImpl

      public Token getNextSpecialTokenImpl(Token aSpclTkn)
      Processes and returns next special token.
    • getSingleLineCommentToken

      public Token getSingleLineCommentToken(Token aSpclTkn)
      Processes and returns a single line comment token if next up in input.
    • getMultiLineCommentToken

      public Token getMultiLineCommentToken(Token aSpclTkn)
      Process and return a multi-line comment if next up in input.
    • getMultiLineCommentTokenMore

      public Token getMultiLineCommentTokenMore(Token aSpclTkn)
      Returns a token from the current char to multi-line comment termination or input end.