MCPcopy Create free account
hub / github.com/antlr/codebuff / nextToken

Method nextToken

output/java/1.4.17/STLexer.java:200–209  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198 }
199
200 @Override
201 public Token nextToken() {
202 Token t;
203 if ( tokens.size()>0) {
204 t = tokens.remove(0);
205 }
206 else t = _nextToken();
207// System.out.println(t);
208 return t;
209 }
210
211 /** Consume if {@code x} is next character on the input stream.
212 */

Callers

nothing calls this directly

Calls 3

_nextTokenMethod · 0.95
sizeMethod · 0.65
removeMethod · 0.65

Tested by

no test coverage detected