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

Method getDictionary

output/java8/1.4.14/Interpreter.java:1208–1219  ·  view source on GitHub ↗
(STGroup g, String name)

Source from the content-addressed store, hash-verified

1206 }
1207
1208 public Object getDictionary(STGroup g, String name) {
1209 if ( g.isDictionary(name) ) {
1210 return g.rawGetDictionary(name);
1211 }
1212 if ( g.imports!=null ) {
1213 for (STGroup sup : g.imports) {
1214 Object o = getDictionary(sup, name);
1215 if ( o!=null ) return o;
1216 }
1217 }
1218 return null;
1219 }
1220
1221 /**
1222 * Set any default argument values that were not set by the invoking

Callers 1

getAttributeMethod · 0.95

Calls 2

isDictionaryMethod · 0.45
rawGetDictionaryMethod · 0.45

Tested by

no test coverage detected