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.
- 
- 
Field Summary- 
Fields inherited from class com.inductiveautomation.snap.parse.Tokenizer_charIndex, _lineIndex, _lineStart
 
- 
 - 
Constructor SummaryConstructors Constructor Description JavaTokenizer()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TokengetMultiLineCommentToken(Token aSpclTkn)Process and return a multi-line comment if next up in input.TokengetMultiLineCommentTokenMore(Token aSpclTkn)Returns a token from the current char to multi-line comment termination or input end.TokengetNextSpecialToken()Processes and returns next special token.TokengetNextSpecialTokenImpl(Token aSpclTkn)Processes and returns next special token.TokengetSingleLineCommentToken(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
 
- 
 
- 
- 
- 
Method Detail- 
getNextSpecialTokenpublic Token getNextSpecialToken() Processes and returns next special token.- Overrides:
- getNextSpecialTokenin class- Tokenizer
 
 - 
getNextSpecialTokenImplpublic Token getNextSpecialTokenImpl(Token aSpclTkn) Processes and returns next special token.
 - 
getSingleLineCommentTokenpublic Token getSingleLineCommentToken(Token aSpclTkn) Processes and returns a single line comment token if next up in input.
 - 
getMultiLineCommentTokenpublic Token getMultiLineCommentToken(Token aSpclTkn) Process and return a multi-line comment if next up in input.
 
- 
 
-