Method |
Description |
commentChar(
)
|
Sets which character will be used as the single-line comment character
by the specified stream tokenizer object. |
eolIsSignificant(
)
|
Sets whether end of lines are considered as tokens by the specified
stream tokenizer object. |
lowerCaseMode(
)
|
Sets whether word tokens are automatically converted to lower case
by the specified stream tokenizer object. |
nextToken(
)
|
Returns the next token from the specified stream tokenizer object. |
nval(
)
|
If the current token is a number, nval contains the value of that number
using the specified string tokenizer object. |
ordinaryChar(
)
|
Sets the given character as ordinary in the specified stream tokenizer
object. |
ordinaryChars(
)
|
Sets all characters in the given range as ordinary in the specified
stream tokenizer object. |
parseNumbers(
)
|
Specifies that numbers should be parsed by the specified stream tokenizer
object. |
pushBack(
)
|
Returns the current token to them stream in the specified stream tokenizer
object. |
quoteChar(
)
|
Sets the given character as a string delimiter in the specified stream
tokenizer object. |
resetSyntax(
)
|
Resets the specified stream tokenizer object so that all characters
are ordinary. |
slashSlashComments(
)
|
Sets whether the specified stream tokenizer object recognizes C++ //
style comments. |
slashStarComments(
)
|
Sets whether the specified stream tokenizer object recognizes C++ /**/
style comments. |
StreamTokenizer(
)
|
Returns a new stream tokenizer object using the specified input stream
object. |
sval(
)
|
If the current token is a word, sval contains the value of that string
using the specified string tokenizer object. |
TT_EOF(
)
|
Returns whether the end of file has been reached in the specified stream
tokenizer object. |
TT_EOL(
)
|
Returns whether the end of line has been reached in the specified stream
tokenizer object. |
TT_NUMBER(
)
|
Returns whether a numeric token has been read from the specified stream
tokenizer object. |
TT_WORD(
)
|
Returns whether a word token has been read from the specified stream
tokenizer object. |
ttype(
)
|
Returns the type of token just read from the specified stream tokenizer
object. |
whitespaceChars(
)
|
Sets all characters in the given range as white space characters in
the specified stream tokenizer object. |
wordChars(
)
|
Sets all characters in the given range as characters able to make a
word in the specified stream tokenizer object. |