8 types derived from XslNode
System.Data.SqlXml (8)
System\Xml\Xsl\Xslt\XslAst.cs (8)
169
internal abstract class ProtoTemplate :
XslNode
{
248
internal class VarPar :
XslNode
{
255
internal class Sort :
XslNode
{
278
internal class Key :
XslNode
{
319
internal class Number :
XslNode
{
346
internal class NodeCtor :
XslNode
{
358
internal class Text :
XslNode
{
368
internal class XslNodeEx :
XslNode
{
16 instantiations of XslNode
System.Data.SqlXml (16)
System\Xml\Xsl\Xslt\XslAst.cs (16)
385
return new
XslNode
(nodeType, name, arg, xslVer);
389
return new
XslNode
(XslNodeType.ApplyImports, mode, sheet, xslVer);
414
return new
XslNode
(XslNodeType.Choose);
418
return new
XslNode
(XslNodeType.Comment);
422
return new
XslNode
(XslNodeType.Copy);
426
return new
XslNode
(XslNodeType.CopyOf, null, select, xslVer);
434
return new
XslNode
(XslNodeType.Error, null, message, XslVersion.Current);
442
return new
XslNode
(XslNodeType.If, null, test, xslVer);
450
return new
XslNode
(XslNodeType.List);
454
return new
XslNode
(XslNodeType.LiteralAttribute, name, value, xslVer);
458
return new
XslNode
(XslNodeType.LiteralElement, name, null, XslVersion.Current);
462
return new
XslNode
(XslNodeType.Message, null, term, XslVersion.Current);
466
return new
XslNode
(XslNodeType.Nop);
477
return new
XslNode
(XslNodeType.Otherwise);
481
return new
XslNode
(XslNodeType.PI, null, name, xslVer);
501
return new
XslNode
(XslNodeType.UseAttributeSet, name, null, XslVersion.Current);
238 references to XslNode
System.Data.SqlXml (238)
System\Xml\Xsl\Xslt\Compiler.cs (1)
51
public
XslNode
StartApplyTemplates;
System\Xml\Xsl\Xslt\InvokeGenerator.cs (3)
42
public QilNode GenerateInvoke(QilFunction func, IList<
XslNode
> actualArgs) {
93
private QilNode FindActualArg(QilParameter formalArg, IList<
XslNode
> actualArgs) {
96
foreach (
XslNode
actualArg in actualArgs) {
System\Xml\Xsl\Xslt\MatcherBuilder.cs (1)
435
public QilNode BuildMatcher(QilIterator it, IList<
XslNode
> actualArgs, QilNode otherwise) {
System\Xml\Xsl\Xslt\QilGenerator.cs (42)
72
private
XslNode
lastScope;
261
private QilNode CompileRootExpression(
XslNode
applyTmpls) {
271
private QilList EnterScope(
XslNode
node) {
446
XslNode
node = tmpl.Content[i];
590
private QilNode CompileInstructions(IList<
XslNode
> instructions) {
594
private QilNode CompileInstructions(IList<
XslNode
> instructions, int from) {
598
private QilNode CompileInstructions(IList<
XslNode
> instructions, QilList content) {
602
private QilNode CompileInstructions(IList<
XslNode
> instructions, int from, QilList content) {
605
XslNode
node = instructions[i];
675
private QilNode CompileList(
XslNode
node) {
679
private QilNode CompileNop(
XslNode
node) {
691
private QilNode CompileLiteralElement(
XslNode
node) {
783
private QilNode CompileLiteralAttribute(
XslNode
node) {
932
private QilNode CompilePI(
XslNode
node) {
941
private QilNode CompileComment(
XslNode
node) {
945
private QilNode CompileError(
XslNode
node) {
963
IList<
XslNode
> content = node.Content;
986
IList<
XslNode
> content = node.Content;
1032
private QilNode CompileApplyImports(
XslNode
node) {
1043
IList<
XslNode
> content = node.Content;
1080
private QilNode CompileUseAttributeSet(
XslNode
node) {
1099
private QilNode CompileCopy(
XslNode
copy) {
1129
private QilNode CompileCopyOf(
XslNode
node) {
1169
private QilNode CompileValueOf(
XslNode
valueOf) {
1173
private QilNode CompileValueOfDoe(
XslNode
valueOf) {
1177
private QilNode CompileWhen(
XslNode
whenNode, QilNode otherwise) {
1185
private QilNode CompileIf(
XslNode
ifNode) {
1189
private QilNode CompileChoose(
XslNode
node) {
1190
IList<
XslNode
> cases = node.Content;
1195
XslNode
when = cases[i];
1214
private QilNode CompileMessage(
XslNode
node) {
1231
private QilNode CompileVariable(
XslNode
node) {
1239
private QilNode CompileVarParValue(
XslNode
node) {
1244
IList<
XslNode
> content = node.Content;
1282
private QilNode CompileSorts(IList<
XslNode
> content, ref LoopFocus parentLoop) {
2098
private QilNode GenerateApply(StylesheetLevel sheet,
XslNode
node) {
2110
private void SetArg(IList<
XslNode
> args, int pos, QilName name, QilNode value) {
2120
private IList<
XslNode
> AddRemoveImplicitArgs(IList<
XslNode
> args, XslFlags flags) {
2127
args = new List<
XslNode
>(3);
2141
private bool FillupInvokeArgs(IList<QilNode> formalArgs, IList<
XslNode
> actualArgs, QilList invokeArgs) {
2179
private QilNode InvokeApplyFunction(StylesheetLevel sheet, QilName mode, IList<
XslNode
> actualArgs) {
System\Xml\Xsl\Xslt\Stylesheet.cs (3)
31
public List<
XslNode
> GlobalVarPars = new List<
XslNode
>();
82
foreach (
XslNode
prevVar in GlobalVarPars) {
System\Xml\Xsl\Xslt\XslAst.cs (28)
84
private List<
XslNode
> content;
103
private static readonly IList<
XslNode
> EmptyList = new List<
XslNode
>().AsReadOnly();
105
public IList<
XslNode
> Content {
109
public void SetContent(List<
XslNode
> content) {
113
public void AddContent(
XslNode
node) {
116
content = new List<
XslNode
>();
121
public void InsertContent(IEnumerable<
XslNode
> collection) {
123
content = new List<
XslNode
>(collection);
195
public new void AddContent(
XslNode
node) {
384
public static
XslNode
XslNode(XslNodeType nodeType, QilName name, string arg, XslVersion xslVer) {
388
public static
XslNode
ApplyImports(QilName mode, Stylesheet sheet, XslVersion xslVer) {
413
public static
XslNode
Choose() {
417
public static
XslNode
Comment() {
421
public static
XslNode
Copy() {
425
public static
XslNode
CopyOf(string select, XslVersion xslVer) {
433
public static
XslNode
Error(string message) {
441
public static
XslNode
If(string test, XslVersion xslVer) {
449
public static
XslNode
List() {
453
public static
XslNode
LiteralAttribute(QilName name, string value, XslVersion xslVer) {
457
public static
XslNode
LiteralElement(QilName name) {
461
public static
XslNode
Message(bool term) {
465
public static
XslNode
Nop() {
476
public static
XslNode
Otherwise() {
480
public static
XslNode
PI(string name, XslVersion xslVer) {
492
public static
XslNode
Text(string data) {
496
public static
XslNode
Text(string data, SerializationHints hints) {
500
public static
XslNode
UseAttributeSet(QilName name) {
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (32)
57
where V :
XslNode
164
foreach (
XslNode
instr in tmpl.Content) {
330
protected override XslFlags Visit(
XslNode
node) {
346
protected override XslFlags VisitChildren(
XslNode
node) {
348
foreach (
var
child in node.Content) {
369
protected override XslFlags VisitApplyImports(
XslNode
node) {
377
protected override XslFlags VisitApplyTemplates(
XslNode
node) {
381
foreach (
XslNode
instr in node.Content) {
415
protected override XslFlags VisitCallTemplate(
XslNode
node) {
437
foreach (
XslNode
instr in node.Content) {
449
foreach (
XslNode
instr in target.Content) {
462
foreach (
XslNode
withPar in node.Content) {
491
protected override XslFlags VisitComment(
XslNode
node) {
495
protected override XslFlags VisitCopy(
XslNode
node) {
501
protected override XslFlags VisitCopyOf(
XslNode
node) {
516
protected override XslFlags VisitError(
XslNode
node) {
520
protected override XslFlags VisitForEach(
XslNode
node) {
523
foreach (
XslNode
child in node.Content) {
535
protected override XslFlags VisitIf(
XslNode
node) {
549
protected override XslFlags VisitLiteralAttribute(
XslNode
node) {
557
protected override XslFlags VisitLiteralElement(
XslNode
node) {
561
protected override XslFlags VisitMessage(
XslNode
node) {
583
protected override XslFlags VisitPI(
XslNode
node) {
607
protected override XslFlags VisitUseAttributeSet(
XslNode
node) {
623
protected override XslFlags VisitValueOf(
XslNode
node) {
627
protected override XslFlags VisitValueOfDoe(
XslNode
node) {
1184
private int CheckNodeCost(
XslNode
node) {
1202
var
child = content[t];
1248
private void Refactor(
XslNode
parent, int split) {
1250
var content = (List<
XslNode
>)parent.Content;
1252
var
node = content[split];
1270
newtemplate.SetContent(new List<
XslNode
>(content.Count - split + 8));
System\Xml\Xsl\Xslt\XsltLoader.cs (83)
284
XslNode
lre = LoadLiteralResultElement(/*asStylesheet:*/true);
288
List<
XslNode
> content = new List<
XslNode
>();
658
private void CheckUseAttrubuteSetInList(IList<
XslNode
> list) {
659
foreach (
XslNode
xslNode in list) {
711
List<
XslNode
> content = null;
891
List<
XslNode
> content = new List<
XslNode
>();
1245
private List<
XslNode
> LoadInstructions() {
1246
return LoadInstructions(new List<
XslNode
>(), InstructionFlags.None);
1249
private List<
XslNode
> LoadInstructions(InstructionFlags flags) {
1250
return LoadInstructions(new List<
XslNode
>(), flags);
1253
private List<
XslNode
> LoadInstructions(List<
XslNode
> content) {
1259
private List<
XslNode
> LoadInstructions(List<
XslNode
> content, InstructionFlags flags) {
1269
XslNode
result;
1352
private List<
XslNode
> LoadWithParams(InstructionFlags flags) {
1354
List<
XslNode
> content = new List<
XslNode
>();
1362
XslNode
withParam = XslVarPar();
1388
private
XslNode
XslApplyImports() {
1396
List<
XslNode
> content = LoadWithParams(InstructionFlags.None);
1423
private
XslNode
XslApplyTemplates() {
1432
List<
XslNode
> content = LoadWithParams(InstructionFlags.AllowSort);
1444
private
XslNode
XslCallTemplate() {
1448
List<
XslNode
> content = LoadWithParams(InstructionFlags.None);
1462
private
XslNode
XslCopy() {
1470
List<
XslNode
> content = new List<
XslNode
>();
1487
private
XslNode
XslCopyOf() {
1502
private
XslNode
XslFallback() {
1511
private
XslNode
XslIf() {
1518
private
XslNode
XslChoose() {
1521
List<
XslNode
> content = new List<
XslNode
>();
1530
XslNode
node = null;
1573
private
XslNode
XslOtherwise() {
1581
private
XslNode
XslForEach() {
1587
List<
XslNode
> content = LoadInstructions(InstructionFlags.AllowSort);
1601
private
XslNode
XslMessage() {
1607
List<
XslNode
> content = LoadInstructions();
1633
private
XslNode
XslNumber() {
1683
private
XslNode
XslValueOf() {
1698
List<
XslNode
> content = null;
1794
List<
XslNode
> content = LoadContent(select != null);
1807
private
XslNode
XslComment() {
1815
private List<
XslNode
> LoadContent(bool hasSelect) {
1817
List<
XslNode
> content = LoadInstructions();
1832
private
XslNode
XslProcessingInstruction() {
1845
private
XslNode
XslText() {
1852
List<
XslNode
> content = new List<
XslNode
>();
1887
private
XslNode
XslElement() {
1900
List<
XslNode
> content = new List<
XslNode
>();
1919
private
XslNode
XslAttribute() {
1949
private
XslNode
XslSort(int sortNumber) {
1964
List<
XslNode
> content = null;
2309
private
XslNode
LoadLiteralResultElement(bool asStylesheet) {
2322
List<
XslNode
> content = new List<
XslNode
>();
2332
XslNode
att = f.LiteralAttribute(f.QName(input.LocalName, input.NamespaceUri, input.Prefix), input.Value, input.XslVersion);
2344
private void CheckWithParam(List<
XslNode
> content,
XslNode
withParam) {
2347
foreach (
XslNode
node in content) {
2355
private static void AddInstruction(List<
XslNode
> content,
XslNode
instruction) {
2362
private List<
XslNode
> LoadEndTag(List<
XslNode
> content) {
2370
private
XslNode
LoadUnknownXsltInstruction(string parentName) {
2378
List<
XslNode
> fallbacks = LoadFallbacks(input.LocalName);
2383
private List<
XslNode
> LoadFallbacks(string instrName) {
2386
List<
XslNode
> fallbacksArray = new List<
XslNode
>();
2629
private void AddUseAttributeSets(List<
XslNode
> list) {
2775
private static
XslNode
SetLineInfo(
XslNode
node, ISourceLineInfo lineInfo) {
2781
private static void SetContent(
XslNode
node, List<
XslNode
> content) {
2789
internal static
XslNode
SetInfo(
XslNode
to, List<
XslNode
> content, ContextInfo info) {
System\Xml\Xsl\Xslt\XslVisitor.cs (45)
11
protected virtual T Visit(
XslNode
node) {
13
case XslNodeType.ApplyImports : return VisitApplyImports ((
XslNode
) node);
14
case XslNodeType.ApplyTemplates : return VisitApplyTemplates ((
XslNode
) node);
17
case XslNodeType.CallTemplate : return VisitCallTemplate ((
XslNode
) node);
18
case XslNodeType.Choose : return VisitChoose ((
XslNode
) node);
19
case XslNodeType.Comment : return VisitComment ((
XslNode
) node);
20
case XslNodeType.Copy : return VisitCopy ((
XslNode
) node);
21
case XslNodeType.CopyOf : return VisitCopyOf ((
XslNode
) node);
23
case XslNodeType.Error : return VisitError ((
XslNode
) node);
24
case XslNodeType.ForEach : return VisitForEach ((
XslNode
) node);
25
case XslNodeType.If : return VisitIf ((
XslNode
) node);
27
case XslNodeType.List : return VisitList ((
XslNode
) node);
28
case XslNodeType.LiteralAttribute : return VisitLiteralAttribute((
XslNode
) node);
29
case XslNodeType.LiteralElement : return VisitLiteralElement ((
XslNode
) node);
30
case XslNodeType.Message : return VisitMessage ((
XslNode
) node);
31
case XslNodeType.Nop : return VisitNop ((
XslNode
) node);
33
case XslNodeType.Otherwise : return VisitOtherwise ((
XslNode
) node);
35
case XslNodeType.PI : return VisitPI ((
XslNode
) node);
39
case XslNodeType.UseAttributeSet : return VisitUseAttributeSet ((
XslNode
) node);
40
case XslNodeType.ValueOf : return VisitValueOf ((
XslNode
) node);
41
case XslNodeType.ValueOfDoe : return VisitValueOfDoe ((
XslNode
) node);
44
default : return VisitUnknown ((
XslNode
) node);
48
protected virtual T VisitApplyImports (
XslNode
node) { return VisitChildren( node ); }
49
protected virtual T VisitApplyTemplates (
XslNode
node) { return VisitChildren( node ); }
52
protected virtual T VisitCallTemplate (
XslNode
node) { return VisitChildren( node ); }
53
protected virtual T VisitChoose (
XslNode
node) { return VisitChildren( node ); }
54
protected virtual T VisitComment (
XslNode
node) { return VisitChildren( node ); }
55
protected virtual T VisitCopy (
XslNode
node) { return VisitChildren( node ); }
56
protected virtual T VisitCopyOf (
XslNode
node) { return VisitChildren( node ); }
58
protected virtual T VisitError (
XslNode
node) { return VisitChildren( node ); }
59
protected virtual T VisitForEach (
XslNode
node) { return VisitChildren( node ); }
60
protected virtual T VisitIf (
XslNode
node) { return VisitChildren( node ); }
62
protected virtual T VisitList (
XslNode
node) { return VisitChildren( node ); }
63
protected virtual T VisitLiteralAttribute(
XslNode
node) { return VisitChildren( node ); }
64
protected virtual T VisitLiteralElement (
XslNode
node) { return VisitChildren( node ); }
65
protected virtual T VisitMessage (
XslNode
node) { return VisitChildren( node ); }
66
protected virtual T VisitNop (
XslNode
node) { return VisitChildren( node ); }
68
protected virtual T VisitOtherwise (
XslNode
node) { return VisitChildren( node ); }
70
protected virtual T VisitPI (
XslNode
node) { return VisitChildren( node ); }
74
protected virtual T VisitUseAttributeSet (
XslNode
node) { return VisitChildren( node ); }
75
protected virtual T VisitValueOf (
XslNode
node) { return VisitChildren( node ); }
76
protected virtual T VisitValueOfDoe (
XslNode
node) { return VisitChildren( node ); }
79
protected virtual T VisitUnknown (
XslNode
node) { return VisitChildren( node ); }
81
protected virtual T VisitChildren(
XslNode
node) {
82
foreach (
XslNode
child in node.Content) {