Home | History | Annotate | Download | only in io

Lines Matching defs:ttype

128     public int ttype = TT_NOTHING;
151 * initializing ttype. FIXME This could be made public and
163 * {@code ttype} field is {@code TT_WORD}. The current token is
164 * a quoted string token when the value of the {@code ttype} field is
171 * @see java.io.StreamTokenizer#ttype
178 * the {@code ttype} field is {@code TT_NUMBER}.
183 * @see java.io.StreamTokenizer#ttype
330 * single-character token and sets {@code ttype} field to the
339 * @see java.io.StreamTokenizer#ttype
365 * constant, the {@code ttype} field is set to the string
382 * @see java.io.StreamTokenizer#ttype
401 * number rather than a word, by setting the {@code ttype}
407 * @see java.io.StreamTokenizer#ttype
420 * {@code TT_EOL} and also sets the {@code ttype} field to
436 * @see java.io.StreamTokenizer#ttype
480 * returned (the {@code ttype} field has the
490 * @see java.io.StreamTokenizer#ttype
509 * The type of the next token is returned in the {@code ttype}
519 * @return the value of the {@code ttype} field.
523 * @see java.io.StreamTokenizer#ttype
528 return ttype;
539 return ttype = TT_EOF;
546 return ttype = TT_EOF;
548 ttype = c; /* Just to be safe */
561 return ttype = TT_EOL;
570 return ttype = TT_EOL;
576 return ttype = TT_EOF;
586 return ttype = '-';
615 return ttype = TT_NUMBER;
632 return ttype = TT_WORD;
636 ttype = c;
643 while (d >= 0 && d != ttype && d != '\n' && d != '\r') {
700 peekc = (d == ttype) ? NEED_CHAR : d;
703 return ttype;
724 return ttype = TT_EOF;
740 return ttype = '/';
751 return ttype = c;
756 * tokenizer to return the current value in the {@code ttype}
763 * @see java.io.StreamTokenizer#ttype
766 if (ttype != TT_NOTHING) /* No-op if nextToken() not called */
791 * @see java.io.StreamTokenizer#ttype
795 switch (ttype) {
813 * ttype is the first character of either a quoted string or
814 * is an ordinary character. ttype can definitely not be less
818 if (ttype < 256 &&
819 ((ctype[ttype] & CT_QUOTE) != 0)) {
826 s[1] = (char) ttype;