Compile a template.
(String srcName,
String name,
List<FormalArgument> args,
String template,
Token templateToken)
| 463 | /** Compile a template. */ |
| 464 | |
| 465 | public CompiledST compile(String srcName, |
| 466 | String name, |
| 467 | List<FormalArgument> args, |
| 468 | String template, |
| 469 | Token templateToken) // for error location |
| 470 | { |
| 471 | //System.out.println("STGroup.compile: "+enclosingTemplateName); |
| 472 | Compiler c = new Compiler(this); |
| 473 | return c.compile(srcName, name, args, template, templateToken); |
| 474 | } |
| 475 | |
| 476 | /** The {@code "foo"} of {@code t() ::= "<@foo()>"} is mangled to |
| 477 | * {@code "/region__/t__foo"} |
no test coverage detected