Package edu.umd.cs.findbugs.jaif
Class JAIFScanner
java.lang.Object
edu.umd.cs.findbugs.jaif.JAIFScanner
Lexical scanner for external annotation files.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private String
private int
private JAIFToken
private static final String
private static final String
private final BufferedReader
private static final String
private static final String
private static final JAIFScanner.TokenPattern[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
atEOF()
private void
private void
int
private boolean
isHorizWhitespace
(char c)
-
Field Details
-
ID_START
- See Also:
-
ID_REST
- See Also:
-
DIGIT
- See Also:
-
DIGITS
- See Also:
-
DIGITS_OPT
- See Also:
-
SIGN_OPT
- See Also:
-
DOT
- See Also:
-
EXP_PART
- See Also:
-
EXP_PART_OPT
- See Also:
-
FLOAT_TYPE_SUFFIX
- See Also:
-
FLOAT_TYPE_SUFFIX_OPT
- See Also:
-
OCTAL_DIGITS
- See Also:
-
HEX_SIGNIFIER
- See Also:
-
HEX_DIGITS
- See Also:
-
INT_TYPE_SUFFIX_OPT
- See Also:
-
INPUT_CHAR
- See Also:
-
OCT_ESCAPE
- See Also:
-
ESCAPE_SEQ
- See Also:
-
STRING_CHARS_OPT
- See Also:
-
TOKEN_PATTERNS
-
reader
-
next
-
lineBuf
-
lineNum
private int lineNum
-
-
Constructor Details
-
JAIFScanner
- Parameters:
reader
-
-
-
Method Details
-
getLineNumber
public int getLineNumber() -
nextToken
- Throws:
IOException
JAIFSyntaxException
-
peekToken
- Throws:
IOException
JAIFSyntaxException
-
atEOF
- Throws:
IOException
-
fillLineBuf
- Throws:
IOException
-
isHorizWhitespace
private boolean isHorizWhitespace(char c) -
fetchToken
- Throws:
IOException
JAIFSyntaxException
-