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

Method compile

output/java/1.4.17/STGroup.java:465–474  ·  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

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

Callers 15

createSingletonMethod · 0.95
defineTemplateMethod · 0.95
defineRegionMethod · 0.95
PatternFilenameFilterMethod · 0.45
fpPatternMethod · 0.45
onPatternMethod · 0.45
onPatternMethod · 0.45
PatternFilenameFilterMethod · 0.45
fpPatternMethod · 0.45

Calls 1

compileMethod · 0.95

Tested by

no test coverage detected