Class JavaTokenizer
java.lang.Object
com.inductiveautomation.snap.parse.Tokenizer
com.inductiveautomation.snap.javaparse.JavaTokenizer
A tokenizer for Java input.
- 
Field SummaryFields inherited from class com.inductiveautomation.snap.parse.Tokenizer_charIndex, _lineIndex, _lineStart
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetMultiLineCommentToken(Token aSpclTkn) Process and return a multi-line comment if next up in input.getMultiLineCommentTokenMore(Token aSpclTkn) Returns a token from the current char to multi-line comment termination or input end.Processes and returns next special token.getNextSpecialTokenImpl(Token aSpclTkn) Processes and returns next special token.getSingleLineCommentToken(Token aSpclTkn) Processes and returns a single line comment token if next up in input.Methods inherited from class com.inductiveautomation.snap.parse.TokenizeraddPattern, addPatterns, charAt, createToken, getChar, getCharIndex, getColumnIndex, getColumnNumber, getInput, getInput, getLineIndex, getLineNumber, getLineStart, getMatchers, getNextToken, getRegexes, goobleWhiteSpace, length, setInput
- 
Constructor Details- 
JavaTokenizerpublic JavaTokenizer()
 
- 
- 
Method Details- 
getNextSpecialTokenProcesses and returns next special token.- Overrides:
- getNextSpecialTokenin class- Tokenizer
 
- 
getNextSpecialTokenImplProcesses and returns next special token.
- 
getSingleLineCommentTokenProcesses and returns a single line comment token if next up in input.
- 
getMultiLineCommentTokenProcess and return a multi-line comment if next up in input.
- 
getMultiLineCommentTokenMoreReturns a token from the current char to multi-line comment termination or input end.
 
-