MCPcopy Create free account
hub / github.com/PacktPublishing/Build-Your-Own-Programming-Language / yyreset

Method yyreset

ch5/Yylex.java:489–497  ·  view source on GitHub ↗

Resets the scanner to read from a new input stream. Does not close the old reader. All internal variables are reset, the old input stream cannot be reused (internal buffer is discarded and lost). Lexical state is set to ZZ_INITIAL. Internal scan buffer is resized down to i

(java.io.Reader reader)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

yyResetPositionMethod · 0.95

Tested by

no test coverage detected