1 instantiation of VarPar
System.Private.Xml (1)
System\Xml\Xsl\Xslt\XslAst.cs (1)
522
return new
VarPar
(nt, name, select, xslVer);
89 references to VarPar
System.Private.Xml (89)
System\Xml\Xsl\Xslt\Compiler.cs (7)
47
public List<
VarPar
> ExternalPars = new List<
VarPar
>();
48
public List<
VarPar
> GlobalVars = new List<
VarPar
>();
54
public Dictionary<QilName,
VarPar
> AllGlobalVarPars = new Dictionary<QilName,
VarPar
>();
161
foreach (
VarPar
var in sheet.GlobalVarPars!)
System\Xml\Xsl\Xslt\InvokeGenerator.cs (1)
109
return ((
VarPar
)actualArg).Value;
System\Xml\Xsl\Xslt\QilGenerator.cs (28)
403
private XmlQueryType ChooseBestType(
VarPar
var)
472
List<
VarPar
>? paramWithCalls = null;
473
Dictionary<
VarPar
, Template>? paramToTemplate = null;
474
Dictionary<
VarPar
, QilFunction>? paramToFunction = null;
523
VarPar
xslPar = (
VarPar
)node;
574
paramWithCalls = new List<
VarPar
>();
575
paramToTemplate = new Dictionary<
VarPar
, Template>();
576
paramToFunction = new Dictionary<
VarPar
, QilFunction>();
611
foreach (
VarPar
par in paramWithCalls)
657
VarPar
xslParam = (
VarPar
)arg.Annotation!;
1176
VarPar
? withParam = content[i] as
VarPar
;
1227
foreach (
VarPar
withParam in content)
1506
private void CompileWithParam(
VarPar
withParam)
2211
foreach (
VarPar
par in _compiler.ExternalPars)
2215
foreach (
VarPar
var in _compiler.GlobalVars)
2221
private void CreateGlobalVarPar(
VarPar
varPar)
2245
foreach (
VarPar
par in _compiler.ExternalPars)
2249
foreach (
VarPar
var in _compiler.GlobalVars)
2257
private QilIterator CompileGlobalVarPar(
VarPar
varPar)
2529
VarPar
varPar;
2537
varPar = (
VarPar
)args[pos];
2582
VarPar
withParam = (
VarPar
)actualArgs[actArg];
2663
VarPar
withParam = (
VarPar
)actualArgs[i];
System\Xml\Xsl\Xslt\Stylesheet.cs (1)
84
public bool AddVarPar(
VarPar
var)
System\Xml\Xsl\Xslt\XslAst.cs (2)
520
public static
VarPar
VarPar(XslNodeType nt, QilName name, string? select, XslVersion xslVer)
525
public static
VarPar
WithParam(QilName name)
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (39)
22
private CompilerScopeManager<
VarPar
>? _scope;
26
private readonly List<
VarPar
> _allVarPars = new List<
VarPar
>();
33
private
VarPar
? _typeDonor;
44
private Graph<
VarPar
>? _dataFlow = new Graph<
VarPar
>();
47
private readonly Dictionary<ModeName,
VarPar
> _applyTemplatesParams = new Dictionary<ModeName,
VarPar
>();
146
_scope = new CompilerScopeManager<
VarPar
>();
150
foreach (
VarPar
par in compiler.ExternalPars)
154
foreach (
VarPar
var in compiler.GlobalVars)
160
foreach (
VarPar
par in compiler.ExternalPars)
165
foreach (
VarPar
var in compiler.GlobalVars)
196
VarPar
par = (
VarPar
)instr;
309
_scope.AddVariable(node.Name!, (
VarPar
)node);
365
VarPar
? modePar;
424
VarPar
?[] typeDonors = new
VarPar
[node.Content.Count];
453
VarPar
par = (
VarPar
)instr;
454
VarPar
? found = null;
461
found = (
VarPar
)withPar;
657
protected override XslFlags VisitParam(
VarPar
node)
667
VarPar
? par;
679
protected override XslFlags VisitVariable(
VarPar
node)
685
protected override XslFlags VisitWithParam(
VarPar
node)
691
private XslFlags ProcessVarPar(
VarPar
node)
856
private readonly CompilerScopeManager<
VarPar
> _scope;
864
private
VarPar
? _typeDonor;
866
public
VarPar
? TypeDonor
871
public XPathAnalyzer(Compiler compiler, CompilerScopeManager<
VarPar
> scope)
947
private
VarPar
? ResolveVariable(string prefix, string name)
1236
private CompilerScopeManager<
VarPar
>? _scope;
1244
_scope = new CompilerScopeManager<
VarPar
>();
1383
_scope.AddVariable(child.Name!, (
VarPar
)child);
1443
var
variable = scoperecord.value;
1455
var
withparam = AstFactory.VarPar(XslNodeType.WithParam, paramname, $"${paramname.QualifiedName}", XslVersion.Current);
1461
var
param = AstFactory.VarPar(XslNodeType.Param, paramname, null, XslVersion.Current);
System\Xml\Xsl\Xslt\XsltInput.cs (2)
26
private readonly CompilerScopeManager<
VarPar
> _scopeManager;
53
_scopeManager = new CompilerScopeManager<
VarPar
>(atoms);
System\Xml\Xsl\Xslt\XsltLoader.cs (3)
1125
VarPar
var = XslVarPar();
1912
private
VarPar
XslVarPar()
1958
VarPar
result = F.VarPar(nodeType, name, select, _input.XslVersion);
System\Xml\Xsl\Xslt\XslVisitor.cs (6)
34
XslNodeType.Param => VisitParam((
VarPar
)node),
42
XslNodeType.Variable => VisitVariable((
VarPar
)node),
43
XslNodeType.WithParam => VisitWithParam((
VarPar
)node),
68
protected virtual T VisitParam(
VarPar
node) { return VisitChildren(node); }
76
protected virtual T VisitVariable(
VarPar
node) { return VisitChildren(node); }
77
protected virtual T VisitWithParam(
VarPar
node) { return VisitChildren(node); }