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

Method addImplicitlyDefinedTemplate

output/java/1.4.17/CompiledST.java:143–150  ·  view source on GitHub ↗
(CompiledST sub)

Source from the content-addressed store, hash-verified

141 }
142
143 public void addImplicitlyDefinedTemplate(CompiledST sub) {
144 sub.prefix = this.prefix;
145 if ( sub.name.charAt(0)!='/' ) sub.name = sub.prefix+sub.name;
146 if ( implicitlyDefinedTemplates==null ) {
147 implicitlyDefinedTemplates = new ArrayList<CompiledST>();
148 }
149 implicitlyDefinedTemplates.add(sub);
150 }
151
152 public void defineArgDefaultValueTemplates(STGroup group) {
153 if ( formalArguments==null ) return;

Callers 1

defineBlankRegionMethod · 0.45

Calls 1

addMethod · 0.65

Tested by

no test coverage detected