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

Method getDictionary

output/java8/1.4.12/Interpreter.java:1186–1197  ·  view source on GitHub ↗
(STGroup g, String name)

Source from the content-addressed store, hash-verified

1184 }
1185
1186 public Object getDictionary(STGroup g, String name) {
1187 if ( g.isDictionary(name) ) {
1188 return g.rawGetDictionary(name);
1189 }
1190 if ( g.imports!=null ) {
1191 for (STGroup sup : g.imports) {
1192 Object o = getDictionary(sup, name);
1193 if ( o!=null ) return o;
1194 }
1195 }
1196 return null;
1197 }
1198
1199 /**
1200 * 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