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

Method getDictionary

output/java/1.4.19/Interpreter.java:1244–1255  ·  view source on GitHub ↗
(STGroup g, String name)

Source from the content-addressed store, hash-verified

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