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

Method compile

output/java8/1.4.19/STGroup.java:470–475  ·  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

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