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

Method setOption

output/java8/1.4.14/CompilationState.java:94–97  ·  view source on GitHub ↗
(CommonTree id)

Source from the content-addressed store, hash-verified

92 }
93
94 public void setOption(CommonTree id) {
95 Interpreter.Option O = Compiler.supportedOptions.get(id.getText());
96 emit1(id, Bytecode.INSTR_STORE_OPTION, O.ordinal());
97 }
98
99 public void func(Token templateToken, CommonTree id) {
100 Short funcBytecode = Compiler.funcs.get(id.getText());

Callers

nothing calls this directly

Calls 4

emit1Method · 0.95
getMethod · 0.65
getTextMethod · 0.65
ordinalMethod · 0.65

Tested by

no test coverage detected