public class JavadocTokenizer extends JavaTokenizer
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
Modifier and Type | Class and Description |
---|---|
protected static class |
JavadocTokenizer.JavadocComment |
JavaTokenizer.BasicComment<U extends UnicodeReader>
Modifier | Constructor and Description |
---|---|
protected |
JavadocTokenizer(ScannerFactory fac,
char[] input,
int inputLength)
Create a scanner from the input array.
|
protected |
JavadocTokenizer(ScannerFactory fac,
CharBuffer buffer)
Create a scanner from the input buffer.
|
Modifier and Type | Method and Description |
---|---|
Position.LineMap |
getLineMap()
Build a map for translating between line numbers and
positions in the input.
|
protected Tokens.Comment |
processComment(int pos,
int endPos,
Tokens.Comment.CommentStyle style)
Called when a complete comment has been scanned.
|
errPos, errPos, lexError, processLineTerminator, processWhiteSpace, readToken
protected JavadocTokenizer(ScannerFactory fac, CharBuffer buffer)
protected JavadocTokenizer(ScannerFactory fac, char[] input, int inputLength)
protected Tokens.Comment processComment(int pos, int endPos, Tokens.Comment.CommentStyle style)
JavaTokenizer
processComment
in class JavaTokenizer
public Position.LineMap getLineMap()
JavaTokenizer
getLineMap
in class JavaTokenizer
Copyright © 2017 earcam. All rights reserved.