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

Method setOption

output/java8/1.4.13/CompilationState.java:92–95  ·  view source on GitHub ↗
(CommonTree id)

Source from the content-addressed store, hash-verified

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