@@ -176,10 +176,10 @@ module Templating {
176176 /**
177177 * A place where a template is instantiated or rendered.
178178 */
179- class TemplateInstantiaton extends DataFlow:: Node {
180- TemplateInstantiaton :: Range range ;
179+ class TemplateInstantiation extends DataFlow:: Node {
180+ TemplateInstantiation :: Range range ;
181181
182- TemplateInstantiaton ( ) { this = range }
182+ TemplateInstantiation ( ) { this = range }
183183
184184 /** Gets a data flow node that refers to the instantiated template string, if any. */
185185 DataFlow:: SourceNode getOutput ( ) { result = range .getOutput ( ) }
@@ -204,7 +204,7 @@ module Templating {
204204 }
205205
206206 /** Companion module to the `TemplateInstantiation` class. */
207- module TemplateInstantiaton {
207+ module TemplateInstantiation {
208208 abstract class Range extends DataFlow:: Node {
209209 /** Gets a data flow node that refers to the instantiated template, if any. */
210210 abstract DataFlow:: SourceNode getOutput ( ) ;
@@ -226,7 +226,7 @@ module Templating {
226226
227227 /** Gets an API node that may flow to `succ` through a template instantiation. */
228228 private API:: Node getTemplateInput ( DataFlow:: SourceNode succ ) {
229- exists ( TemplateInstantiaton inst , API:: Node base , string name |
229+ exists ( TemplateInstantiation inst , API:: Node base , string name |
230230 base .getARhs ( ) = inst .getTemplateParamsNode ( ) and
231231 result = base .getMember ( name ) and
232232 succ =
@@ -321,7 +321,7 @@ module Templating {
321321
322322 /** Get file argument of a template instantiation, seen as a template file reference. */
323323 private class DefaultTemplateFileReference extends TemplateFileReference {
324- DefaultTemplateFileReference ( ) { this = any ( TemplateInstantiaton inst ) .getTemplateFileNode ( ) }
324+ DefaultTemplateFileReference ( ) { this = any ( TemplateInstantiation inst ) .getTemplateFileNode ( ) }
325325 }
326326
327327 /**
@@ -581,7 +581,7 @@ module Templating {
581581 }
582582
583583 private TemplateSyntax getTemplateSyntaxFromInstantiation ( TemplateFile file ) {
584- result = any ( TemplateInstantiaton inst | inst .getTemplateFile ( ) = file ) .getTemplateSyntax ( )
584+ result = any ( TemplateInstantiation inst | inst .getTemplateFile ( ) = file ) .getTemplateSyntax ( )
585585 }
586586
587587 /**
@@ -612,7 +612,7 @@ module Templating {
612612 /**
613613 * An EJS-style `include` call within a template tag, such as `<%- include(file, { params }) %>`.
614614 */
615- private class EjsIncludeCallInTemplate extends TemplateInstantiaton :: Range , DataFlow:: CallNode {
615+ private class EjsIncludeCallInTemplate extends TemplateInstantiation :: Range , DataFlow:: CallNode {
616616 EjsIncludeCallInTemplate ( ) {
617617 exists ( TemplatePlaceholderTag tag |
618618 tag .getRawText ( ) .regexpMatch ( "(?s)<%-.*" ) and
@@ -685,7 +685,7 @@ module Templating {
685685 /**
686686 * A call to a member of the `consolidate` library, seen as a template instantiation.
687687 */
688- private class ConsolidateCall extends TemplateInstantiaton :: Range , API:: CallNode {
688+ private class ConsolidateCall extends TemplateInstantiation :: Range , API:: CallNode {
689689 string engine ;
690690
691691 ConsolidateCall ( ) { this = API:: moduleImport ( "consolidate" ) .getMember ( engine ) .getACall ( ) }
0 commit comments