Lines Matching defs:token
56 // value class to hold StreamTokenizer token values
74 * method to get the next token as a Token type
80 logln("Read token: type = " + currentToken.ttype
85 * method to match the current Token to a specified token type and
86 * value Throws a SyntaxException if token doesn't match.
88 private void match(int ttype, String token)
92 && (currentToken.sval.compareTo(token) == 0)) {
93 logln("matched type: " + ttype + " and token = "
103 * method to match the current Token to a specified token type.
104 * Throws a SyntaxException if token doesn't match.
108 logln("matched type: " + ttype + ", token = " + currentToken.sval);
115 private void match(String token) throws IOException, SyntaxException {
116 match(StreamTokenizer.TT_WORD, token);