MCPcopy Index your code
hub / github.com/antlr/codebuff / addArg

Method addArg

output/java8/1.4.13/CompiledST.java:198–204  ·  view source on GitHub ↗

Used by ST#add to add args one by one without turning on full formal args definition signal.

(FormalArgument a)

Source from the content-addressed store, hash-verified

196
197
198 public void addArg(FormalArgument a) {
199 if ( formalArguments==null ) {
200 formalArguments = Collections.synchronizedMap(new LinkedHashMap<String, FormalArgument>());
201 }
202 a.index = formalArguments.size();
203 formalArguments.put(a.name, a);
204 }
205
206
207 public void defineImplicitlyDefinedTemplates(STGroup group) {

Callers 2

defineFormalArgsMethod · 0.95
addMethod · 0.45

Calls 2

sizeMethod · 0.65
putMethod · 0.65

Tested by

no test coverage detected