Beispiel #1
0
 internal void BeginTemplate(TemplateAction template)
 {
     Debug.Assert(this.currentTemplate != null);
     this.currentTemplate     = template;
     this.currentMode         = template.Mode;
     this.CanHaveApplyImports = template.MatchKey != Compiler.InvalidQueryKey;
 }
Beispiel #2
0
 internal void EndTemplate() {
     Debug.Assert(this.currentTemplate != null);
     this.currentTemplate = this.rootAction;
 }
Beispiel #3
0
 internal void BeginTemplate(TemplateAction template) {
     Debug.Assert(this.currentTemplate != null);
     this.currentTemplate = template;
     this.currentMode     = template.Mode;
     this.CanHaveApplyImports = template.MatchKey != Compiler.InvalidQueryKey;
 }
Beispiel #4
0
 internal void EndTemplate()
 {
     Debug.Assert(this.currentTemplate != null);
     this.currentTemplate = this.rootAction;
 }