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