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

Method getDictionary

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

Source from the content-addressed store, hash-verified

1223 }
1224
1225 public Object getDictionary(STGroup g, String name) {
1226 if ( g.isDictionary(name) ) {
1227 return g.rawGetDictionary(name);
1228 }
1229 if ( g.imports!=null ) {
1230 for (STGroup sup : g.imports) {
1231 Object o = getDictionary(sup, name);
1232 if ( o !=null ) return o;
1233 }
1234 }
1235 return null;
1236 }
1237
1238 /**
1239 * 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