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

Method getDictionary

output/java/1.4.15/Interpreter.java:1240–1251  ·  view source on GitHub ↗
(STGroup g, String name)

Source from the content-addressed store, hash-verified

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