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

Method CompilationState

output/java/1.4.13/CompilationState.java:62–67  ·  view source on GitHub ↗
(ErrorManager errMgr, String name, TokenStream tokens)

Source from the content-addressed store, hash-verified

60
61 ErrorManager errMgr;
62 public CompilationState(ErrorManager errMgr, String name, TokenStream tokens) {
63 this.errMgr = errMgr;
64 this.tokens = tokens;
65 impl.name = name;
66 impl.prefix = Misc.getPrefix(name);
67 }
68
69 public int defineString(String s) {
70 return stringtable.add(s);

Callers

nothing calls this directly

Calls 1

getPrefixMethod · 0.95

Tested by

no test coverage detected