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

Method compile

output/java/1.4.19/STGroup.java:469–478  ·  view source on GitHub ↗

Compile a template.

(String srcName,
                              String name,
                              List<FormalArgument> args,
                              String template,
                              Token templateToken)

Source from the content-addressed store, hash-verified

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"}

Callers 5

createSingletonMethod · 0.95
defineTemplateMethod · 0.95
defineRegionMethod · 0.95
loadTemplateFileMethod · 0.45
STMethod · 0.45

Calls 1

compileMethod · 0.95

Tested by

no test coverage detected