MCPcopy
hub / github.com/antlr/antlr4 / consume

Method consume

runtime/Java/src/org/antlr/v4/runtime/IntStream.java:60–60  ·  view source on GitHub ↗

Consumes the current symbol in the stream. This method has the following effects: Forward movement: The value of #index index() before calling this method is less than the value of index() after calling this method. Ordered lookahead:

()

Source from the content-addressed store, hash-verified

58 * {@code consume}).
59 */
60 void consume();
61
62 /**
63 * Gets the value of the symbol at offset {@code i} from the current

Callers 15

consumeMethod · 0.65
recoverMethod · 0.65
execATNMethod · 0.65
consumeMethod · 0.65
recoverMethod · 0.65
recoverInlineMethod · 0.65
singleTokenDeletionMethod · 0.65
consumeUntilMethod · 0.65
recoverMethod · 0.65
consumeMethod · 0.65
execATNMethod · 0.65

Calls

no outgoing calls

Tested by 12

consumeMethod · 0.52
testNoBufferingMethod · 0.52
testMarkStartMethod · 0.52
testMarkThenReleaseMethod · 0.52
test1CharMethod · 0.52
test2CharMethod · 0.52
test2MarkMethod · 0.52
testUnicodeSMPMethod · 0.52
testOffChannelMethod · 0.52
testLookbackMethod · 0.52