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

Method setOption

output/java8/1.4.19/CompilationState.java:96–99  ·  view source on GitHub ↗
(CommonTree id)

Source from the content-addressed store, hash-verified

94 }
95
96 public void setOption(CommonTree id) {
97 Interpreter.Option O = Compiler.supportedOptions.get(id.getText());
98 emit1(id, Bytecode.INSTR_STORE_OPTION, O.ordinal());
99 }
100
101 public void func(Token templateToken, CommonTree id) {
102 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