1 instantiation of Template
System.Data.SqlXml (1)
System\Xml\Xsl\Xslt\XslAst.cs (1)
489
return new
Template
(name, match, mode, priority, xslVer);
39 references to Template
System.Data.SqlXml (39)
System\Xml\Xsl\Xslt\Compiler.cs (2)
63
public Dictionary<QilName,
Template
> NamedTemplates = new Dictionary<QilName,
Template
>();
System\Xml\Xsl\Xslt\MatcherBuilder.cs (2)
94
private
Template
template;
121
public TemplateMatch(
Template
template, QilLoop filter) {
System\Xml\Xsl\Xslt\QilGenerator.cs (8)
412
Dictionary<VarPar,
Template
> paramToTemplate = null;
439
Template
template = tmpl as
Template
;
495
paramToTemplate = new Dictionary<VarPar,
Template
>();
529
Template
tmpl = paramToTemplate[par];
564
Debug.Assert(tmpl is
Template
, "Only templates can have explicit arguments");
1057
Template
tmpl;
1798
foreach (
Template
template in sheet.Templates) {
System\Xml\Xsl\Xslt\Stylesheet.cs (5)
46
public List<
Template
> Templates = new List<
Template
>(); // Templates defined on this level. Empty for RootLevel.
50
public void AddTemplateMatch(
Template
template, QilLoop filter) {
94
public bool AddTemplate(
Template
template) {
103
Template
old;
System\Xml\Xsl\Xslt\XslAst.cs (1)
488
public static
Template
Template(QilName name, string match, QilName mode, double priority, XslVersion xslVer) {
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (18)
42
private Dictionary<
Template
, Stylesheet> fwdApplyImportsGraph = new Dictionary<
Template
, Stylesheet>();
189
foreach (KeyValuePair<
Template
, Stylesheet> pair in fwdApplyImportsGraph) {
220
private void AddImportDependencies(Stylesheet sheet,
Template
focusDonor) {
221
foreach (
Template
tmpl in sheet.Templates) {
246
foreach (
Template
tmpl in sheet.Templates) {
362
protected override XslFlags VisitTemplate(
Template
node) {
371
Debug.Assert(currentTemplate is
Template
, "xsl:apply-imports can only occur within xsl:template");
372
fwdApplyImportsGraph[(
Template
)currentTemplate] = (Stylesheet)node.Arg;
417
Template
target;
632
Template
tmpl = currentTemplate as
Template
;
762
Template
template = t as
Template
;
1096
private Stack<
Template
> newTemplates;
1102
this.newTemplates = new Stack<
Template
>();
1113
var
newtemplate = newTemplates.Pop();
1265
Template
newtemplate = AstFactory.Template(templatename, null, XsltLoader.nullMode, double.NaN, node.XslVersion);
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
36
private
Template
curTemplate; // Current template
System\Xml\Xsl\Xslt\XslVisitor.cs (2)
37
case XslNodeType.Template : return VisitTemplate ((
Template
) node);
72
protected virtual T VisitTemplate (
Template
node) { return VisitChildren( node ); }