| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private int | |
| private boolean | |
| private static final boolean | |
| private boolean | |
| private boolean | |
| private int | |
| private int | |
| private final boolean | |
| private JoinReader | |
| private int | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private String | |
| private Token | |
| private Token | |
| private Token | |
| public void | close()
Overrides com. Implements java. |
| private Token | |
| private Token | |
| pack-priv final void | |
| private int | |
| public int | getColumn()
Overrides com. |
| public int | getLine()
Overrides com. |
| private Token | |
| pack-priv void | |
| private Token | |
| private static boolean | |
| private static boolean | |
| pack-priv boolean | isNumbered()
Overrides com. |
| private Token | number()
Section 6.4.4.1 of C99 (Not pasted here, but says that the initial negation is a separate token.) Section 6.4.4.2 of C99 A floating constant has a significand part that may be followed by an exponent part and a suffix that specifies its type. |
| private Token | |
| private Token | |
| private int | |
| pack-priv void | |
| private Token | |
| public Token | token()
Implements abstract com. |
| private void | |
| pack-priv final void | |
| private Token |
| bol | back to summary |
|---|---|
| private boolean bol | |
| column | back to summary |
|---|---|
| private int column | |
| cr | back to summary |
|---|---|
| private boolean cr | |
| DEBUG | back to summary |
|---|---|
| private static final boolean DEBUG | |
| digraphs | back to summary |
|---|---|
| private boolean digraphs | |
| include | back to summary |
|---|---|
| private boolean include | |
| lastcolumn | back to summary |
|---|---|
| private int lastcolumn | |
| line | back to summary |
|---|---|
| private int line | |
| ppvalid | back to summary |
|---|---|
| private final boolean ppvalid | |
| reader | back to summary |
|---|---|
| private JoinReader reader | |
| u0 | back to summary |
|---|---|
| private int u0 | |
| u1 | back to summary |
|---|---|
| private int u1 | |
| ucount | back to summary |
|---|---|
| private int ucount | |
| LexerSource | back to summary |
|---|---|
| public LexerSource(Reader r, boolean ppvalid) | |
| _error | back to summary |
|---|---|
| private void _error(String msg, boolean error) throws LexerException | |
| _number_part | back to summary |
|---|---|
private String _number_part(StringBuilder text, int base, boolean sign) throws IOException, LexerException
| |
| _number_suffix | back to summary |
|---|---|
private Token _number_suffix(StringBuilder text, NumericValue value, int d) throws IOException, LexerException
| |
| ccomment | back to summary |
|---|---|
private Token ccomment() throws IOException, LexerException
| |
| character | back to summary |
|---|---|
private Token character() throws IOException, LexerException
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides com. Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| cond | back to summary |
|---|---|
private Token cond(char c, int yes, int no) throws IOException, LexerException
| |
| cppcomment | back to summary |
|---|---|
private Token cppcomment() throws IOException, LexerException
| |
| error | back to summary |
|---|---|
| pack-priv final void error(String msg) throws LexerException | |
| escape | back to summary |
|---|---|
| private int escape(StringBuilder text) throws IOException, LexerException | |
| getColumn | back to summary |
|---|---|
| public int getColumn() Overrides com. Doc from com. Returns the current column number within this Source.
| |
| getLine | back to summary |
|---|---|
| public int getLine() Overrides com. Doc from com. Returns the current line number within this Source.
| |
| identifier | back to summary |
|---|---|
private Token identifier(int c) throws IOException, LexerException
| |
| init | back to summary |
|---|---|
| pack-priv void init(Preprocessor pp) Overrides com.
| |
| invalid | back to summary |
|---|---|
private Token invalid(StringBuilder text, String reason) throws IOException, LexerException
| |
| is_octal | back to summary |
|---|---|
| private static boolean is_octal(String text) | |
| isLineSeparator | back to summary |
|---|---|
| private static boolean isLineSeparator(int c) | |
| isNumbered | back to summary |
|---|---|
| pack-priv boolean isNumbered() Overrides com. Doc from com. Returns true if this source has line numbers.
| |
| number | back to summary |
|---|---|
| private Token number() throws IOException, LexerException Section 6.4.4.1 of C99 (Not pasted here, but says that the initial negation is a separate token.) Section 6.4.4.2 of C99 A floating constant has a significand part that may be followed by an exponent part and a suffix that specifies its type. The components of the significand part may include a digit sequence representing the whole-number part, followed by a period (.), followed by a digit sequence representing the fraction part. The components of the exponent part are an e, E, p, or P followed by an exponent consisting of an optionally signed digit sequence. Either the whole-number part or the fraction part has to be present; for decimal floating constants, either the period or the exponent part has to be present. The significand part is interpreted as a (decimal or hexadecimal) rational number; the digit sequence in the exponent part is interpreted as a decimal integer. For decimal floating constants, the exponent indicates the power of 10 by which the significand part is to be scaled. For hexadecimal floating constants, the exponent indicates the power of 2 by which the significand part is to be scaled. For decimal floating constants, and also for hexadecimal floating constants when FLT_RADIX is not a power of 2, the result is either the nearest representable value, or the larger or smaller representable value immediately adjacent to the nearest representable value, chosen in an implementation-defined manner. For hexadecimal floating constants when FLT_RADIX is a power of 2, the result is correctly rounded.
| |
| number_decimal | back to summary |
|---|---|
private Token number_decimal() throws IOException, LexerException
| |
| number_hex | back to summary |
|---|---|
private Token number_hex(char x) throws IOException, LexerException
| |
| read | back to summary |
|---|---|
| private int read() throws IOException, LexerException | |
| setInclude | back to summary |
|---|---|
| pack-priv void setInclude(boolean b) | |
| string | back to summary |
|---|---|
private Token string(char open, char close) throws IOException, LexerException
| |
| token | back to summary |
|---|---|
| public Token token() throws IOException, LexerException Implements abstract com. Doc from com. Returns the next Token parsed from this input stream.
| |
| unread | back to summary |
|---|---|
| private void unread(int c) throws IOException | |
| warning | back to summary |
|---|---|
| pack-priv final void warning(String msg) throws LexerException | |
| whitespace | back to summary |
|---|---|
private Token whitespace(int c) throws IOException, LexerException
| |