Lines Matching refs:st

70     private StreamTokenizer st;
106 st = new StreamTokenizer(policy);
108 st.resetSyntax();
109 st.wordChars('a', 'z');
110 st.wordChars('A', 'Z');
111 st.wordChars('.', '.');
112 st.wordChars('0', '9');
113 st.wordChars('_', '_');
114 st.wordChars('$', '$');
115 st.wordChars(128 + 32, 255);
116 st.whitespaceChars(0, ' ');
117 st.commentChar('/');
118 st.quoteChar('\'');
119 st.quoteChar('"');
120 st.lowerCaseMode(false);
121 st.ordinaryChar('/');
122 st.slashSlashComments(true);
123 st.slashStarComments(true);
124 st.parseNumbers();
138 lookahead = st.nextToken();
145 throw new ParsingException(st.lineno(), "expected grant " +
171 ParsingException(st.lineno(), "expected permission entry");
208 throw new ParsingException(st.lineno(),
226 throw new ParsingException(st.lineno(), "Inconsistent policy");
238 throw new ParsingException(st.lineno(),
265 throw new ParsingException(st.lineno(),
321 if (expect.equalsIgnoreCase(st.sval))
366 int lineno = st.lineno();
371 value = (int)st.nval;
373 sValue = String.valueOf(st.nval);
375 lookahead = st.nextToken();
378 sValue = st.sval;
395 throw new ParsingException(st.lineno(), expect,
396 "number "+String.valueOf(st.nval));
400 if (expect.equalsIgnoreCase(st.sval)) {
401 lookahead = st.nextToken();
404 value = st.sval;
405 lookahead = st.nextToken();
408 throw new ParsingException(st.lineno(), expect, st.sval);
412 value = st.sval;
413 lookahead = st.nextToken();
415 value = st.sval;
416 lookahead = st.nextToken();
419 throw new ParsingException(st.lineno(), expect, st.sval);
423 lookahead = st.nextToken();
425 throw new ParsingException(st.lineno(), expect, ",");
429 lookahead = st.nextToken();
431 throw new ParsingException(st.lineno(), expect, "{");
435 lookahead = st.nextToken();
437 throw new ParsingException(st.lineno(), expect, "}");
441 lookahead = st.nextToken();
443 throw new ParsingException(st.lineno(), expect, ";");
447 lookahead = st.nextToken();
449 throw new ParsingException(st.lineno(), expect, "*");
452 throw new ParsingException(st.lineno(), expect,