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

Method getDictionary

output/java/1.4.17/Interpreter.java:1242–1253  ·  view source on GitHub ↗
(STGroup g, String name)

Source from the content-addressed store, hash-verified

1240 }
1241
1242 public Object getDictionary(STGroup g, String name) {
1243 if ( g.isDictionary(name) ) {
1244 return g.rawGetDictionary(name);
1245 }
1246 if ( g.imports!=null ) {
1247 for (STGroup sup : g.imports) {
1248 Object o = getDictionary(sup, name);
1249 if ( o !=null ) return o;
1250 }
1251 }
1252 return null;
1253 }
1254
1255 /**
1256 * 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