Lines Matching defs:is

5  * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
33 * read one at a time. The parsing process is controlled by a table
38 * Each byte read from the input stream is regarded as a character
40 * The character value is used to look up five possible attributes of
76 * to indicate that a new character should be read and, if it is a '\n'
104 * token, its value is the single character, converted to an integer.
105 * For a quoted string token, its value is the quote character.
106 * Otherwise, its value is one of the following:
108 * <li><code>TT_WORD</code> indicates that the token is a word.
109 * <li><code>TT_NUMBER</code> indicates that the token is a number.
118 * The initial value of this field is -4.
157 * If the current token is a word token, this field contains a
159 * token is a quoted string token, this field contains the body of
162 * The current token is a word when the value of the
163 * <code>ttype</code> field is <code>TT_WORD</code>. The current token is
164 * a quoted string token when the value of the <code>ttype</code> field is
167 * The initial value of this field is null.
176 * If the current token is a number, this field contains the value
177 * of that number. The current token is a number when the value of
178 * the <code>ttype</code> field is <code>TT_NUMBER</code>.
180 * The initial value of this field is 0.0.
201 * stream. The stream tokenizer is initialized to the following
210 * <li><code>'/'</code> is a comment character.
219 * input stream is to convert it into a character stream, for example:
221 * Reader r = new BufferedReader(new InputStreamReader(is));
225 * @param is an input stream.
231 public StreamTokenizer(InputStream is) {
233 if (is == null) {
236 input = is;
325 * Specifies that the character argument is "ordinary"
329 * is encountered by the parser, the parser treats it as a
365 * constant, the <code>ttype</code> field is set to the string
366 * delimiter and the <code>sval</code> field is set to the body of
369 * If a string quote character is encountered, then a string is
375 * converted to single characters as the string is parsed.
391 * syntax table of this tokenizer is modified so that each of the twelve
418 * If the flag argument is true, this tokenizer treats end of lines
421 * this value when an end of line is read.
423 * A line is a sequence of characters ending with either a
426 * character followed immediately by a newline character is treated
429 * If the <code>flag</code> is false, end-of-line characters are
445 * If the flag argument is <code>true</code>, this stream tokenizer
449 * If the flag argument is <code>false</code>, then C-style comments
461 * If the flag argument is <code>true</code>, this stream tokenizer
463 * slash characters (<code>'/'</code>) is treated as the beginning of
466 * If the flag argument is <code>false</code>, then C++-style
478 * If the flag argument is <code>true</code>, then the value in the
479 * <code>sval</code> field is lowercased whenever a word token is
484 * If the flag argument is <code>false</code>, then the
485 * <code>sval</code> field is not modified.
509 * The type of the next token is returned in the <code>ttype</code>
517 * is returned.
551 * another character unless peekc is reset in this invocation
733 /* Now see if it is still a single line comment */
783 * <p>The precise string returned is unspecified, although the following
813 * ttype is the first character of either a quoted string or
814 * is an ordinary character. ttype can definitely not be less