Used by ST#add to add args one by one without turning on full formal args definition signal.
(FormalArgument a)
| 194 | /** Used by {@link ST#add} to add args one by one without turning on full formal args definition signal. */ |
| 195 | |
| 196 | public void addArg(FormalArgument a) { |
| 197 | if ( formalArguments==null ) { |
| 198 | formalArguments = Collections.synchronizedMap(new LinkedHashMap<String, FormalArgument>()); |
| 199 | } |
| 200 | a.index = formalArguments.size(); |
| 201 | formalArguments.put(a.name, a); |
| 202 | } |
| 203 | |
| 204 | public void defineImplicitlyDefinedTemplates(STGroup group) { |
| 205 | if ( implicitlyDefinedTemplates!=null ) { |
no test coverage detected