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

Method getDictionary

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

Source from the content-addressed store, hash-verified

1234 }
1235
1236 public Object getDictionary(STGroup g, String name) {
1237 if ( g.isDictionary(name) ) {
1238 return g.rawGetDictionary(name);
1239 }
1240 if ( g.imports!=null ) {
1241 for (STGroup sup : g.imports) {
1242 Object o = getDictionary(sup, name);
1243 if ( o !=null ) return o;
1244 }
1245 }
1246 return null;
1247 }
1248
1249 /**
1250 * 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