1 instantiation of Compiler
System.Private.Xml (1)
System\Xml\Xslt\XslTransform.cs (1)
247Compiler compiler = new Compiler();
140 references to Compiler
System.Private.Xml (140)
System\Xml\Xsl\XsltOld\Action.cs (1)
13internal virtual void ReplaceNamespaceAlias(Compiler compiler) { }
System\Xml\Xsl\XsltOld\ApplyImportsAction.cs (1)
16internal override void Compile(Compiler compiler)
System\Xml\Xsl\XsltOld\ApplyTemplatesAction.cs (5)
19private int _selectKey = Compiler.InvalidQueryKey; 49internal override void Compile(Compiler compiler) 55internal override bool CompileAttribute(Compiler compiler) 76private void CompileContent(Compiler compiler) 148if (_selectKey == Compiler.InvalidQueryKey)
System\Xml\Xsl\XsltOld\AttributeAction.cs (2)
68internal override void Compile(Compiler compiler) 96internal override bool CompileAttribute(Compiler compiler)
System\Xml\Xsl\XsltOld\AttributeSetAction.cs (3)
21internal override void Compile(Compiler compiler) 28internal override bool CompileAttribute(Compiler compiler) 51private void CompileContent(Compiler compiler)
System\Xml\Xsl\XsltOld\Avt.cs (1)
63internal static Avt CompileAvt(Compiler compiler, string avtText)
System\Xml\Xsl\XsltOld\AvtEvent.cs (2)
18Debug.Assert(key != Compiler.InvalidQueryKey); 24Debug.Assert(_key != Compiler.InvalidQueryKey);
System\Xml\Xsl\XsltOld\BeginEvent.cs (2)
23public BeginEvent(Compiler compiler) 43public override void ReplaceNamespaceAlias(Compiler compiler)
System\Xml\Xsl\XsltOld\CallTemplateAction.cs (3)
17internal override void Compile(Compiler compiler) 24internal override bool CompileAttribute(Compiler compiler) 41private void CompileContent(Compiler compiler)
System\Xml\Xsl\XsltOld\ChooseAction.cs (2)
13internal override void Compile(Compiler compiler) 24private void CompileConditions(Compiler compiler)
System\Xml\Xsl\XsltOld\CommentAction.cs (1)
13internal override void Compile(Compiler compiler)
System\Xml\Xsl\XsltOld\CompiledAction.cs (4)
13internal abstract void Compile(Compiler compiler); 15internal virtual bool CompileAttribute(Compiler compiler) 20public void CompileAttributes(Compiler compiler) 69public static void CheckEmpty(Compiler compiler)
System\Xml\Xsl\XsltOld\Compiler.cs (2)
591return new NavigatorInput(Compiler.LoadDocument(tr).CreateNavigator(), resolved, _rootScope); 685this.CanHaveApplyImports = template.MatchKey != Compiler.InvalidQueryKey;
System\Xml\Xsl\XsltOld\ContainerAction.cs (25)
42internal override void Compile(Compiler compiler) 47internal static void CompileStylesheetAttributes(Compiler compiler) 112internal static void CompileSingleTemplate(Compiler compiler) 155protected void CompileDocument(Compiler compiler, bool inInclude) 196internal Stylesheet CompileImport(Compiler compiler, Uri uri, int id) 222private void CompileImports(Compiler compiler) 238private void CompileInclude(Compiler compiler) 269internal static void CompileNamespaceAlias(Compiler compiler) 314internal static void CompileKey(Compiler compiler) 318int MatchKey = Compiler.InvalidQueryKey; 319int UseKey = Compiler.InvalidQueryKey; 356CheckRequiredAttribute(MatchKey != Compiler.InvalidQueryKey, "match"); 357CheckRequiredAttribute(UseKey != Compiler.InvalidQueryKey, "use"); 365protected static void CompileDecimalFormat(Compiler compiler) 443internal static bool CheckAttribute(bool valid, Compiler compiler) 456protected static void CompileSpace(Compiler compiler, bool preserve) 492protected void CompileTopLevelElements(Compiler compiler) 625protected void CompileTemplate(Compiler compiler) 634protected void CompileOnceTemplate(Compiler compiler) 669private void CompileInstruction(Compiler compiler) 763private void CompileLiteral(Compiler compiler) 797private void CompileLiteralAttributesAndNamespaces(Compiler compiler) 852private void CompileOutput(Compiler compiler) 888private static void AddScript(Compiler compiler) 1008internal override void ReplaceNamespaceAlias(Compiler compiler)
System\Xml\Xsl\XsltOld\CopyAction.cs (2)
23internal override void Compile(Compiler compiler) 36internal override bool CompileAttribute(Compiler compiler)
System\Xml\Xsl\XsltOld\CopyCodeAction.cs (1)
35internal override void ReplaceNamespaceAlias(Compiler compiler)
System\Xml\Xsl\XsltOld\CopyOfAction.cs (4)
17private int _selectKey = Compiler.InvalidQueryKey; 19internal override void Compile(Compiler compiler) 22CheckRequiredAttribute(_selectKey != Compiler.InvalidQueryKey, "select"); 26internal override bool CompileAttribute(Compiler compiler)
System\Xml\Xsl\XsltOld\ElementAction.cs (2)
47internal override void Compile(Compiler compiler) 77internal override bool CompileAttribute(Compiler compiler)
System\Xml\Xsl\XsltOld\Event.cs (1)
14public virtual void ReplaceNamespaceAlias(Compiler compiler) { }
System\Xml\Xsl\XsltOld\ForEachAction.cs (5)
19private int _selectKey = Compiler.InvalidQueryKey; 22internal override void Compile(Compiler compiler) 25CheckRequiredAttribute(_selectKey != Compiler.InvalidQueryKey, "select"); 36internal override bool CompileAttribute(Compiler compiler) 103private void CompileSortElements(Compiler compiler)
System\Xml\Xsl\XsltOld\IfAction.cs (5)
21private int _testKey = Compiler.InvalidQueryKey; 28internal override void Compile(Compiler compiler) 33CheckRequiredAttribute(_testKey != Compiler.InvalidQueryKey, "test"); 43internal override bool CompileAttribute(Compiler compiler) 72Debug.Assert(_testKey != Compiler.InvalidQueryKey);
System\Xml\Xsl\XsltOld\MessageAction.cs (2)
17internal override void Compile(Compiler compiler) 28internal override bool CompileAttribute(Compiler compiler)
System\Xml\Xsl\XsltOld\NameSpaceEvent.cs (1)
24public override void ReplaceNamespaceAlias(Compiler compiler)
System\Xml\Xsl\XsltOld\newinstructionaction.cs (2)
17internal override void Compile(Compiler compiler) 30internal void CompileSelectiveTemplate(Compiler compiler)
System\Xml\Xsl\XsltOld\NumberAction.cs (10)
142private int _countKey = Compiler.InvalidQueryKey; 144private int _fromKey = Compiler.InvalidQueryKey; 146private int _valueKey = Compiler.InvalidQueryKey; 160internal override bool CompileAttribute(Compiler compiler) 214internal override void Compile(Compiler compiler) 243if (_fromKey != Compiler.InvalidQueryKey) 310if (_fromKey == Compiler.InvalidQueryKey) 328if (_fromKey != Compiler.InvalidQueryKey && processor.Matches(nav, _fromKey)) 402if (_valueKey != Compiler.InvalidQueryKey) 461if (_countKey != Compiler.InvalidQueryKey)
System\Xml\Xsl\XsltOld\ProcessingInstructionAction.cs (2)
20internal override void Compile(Compiler compiler) 43internal override bool CompileAttribute(Compiler compiler)
System\Xml\Xsl\XsltOld\Processor.cs (4)
185result = ((IXPathNavigable)Compiler.LoadDocument(tr)).CreateNavigator(); 513Debug.Assert(key != Compiler.InvalidQueryKey); 519Debug.Assert(key != Compiler.InvalidQueryKey); 534Debug.Assert(key != Compiler.InvalidQueryKey);
System\Xml\Xsl\XsltOld\RootAction.cs (1)
93internal override void Compile(Compiler compiler)
System\Xml\Xsl\XsltOld\SortAction.cs (4)
14private int _selectKey = Compiler.InvalidQueryKey; 117internal override void Compile(Compiler compiler) 121if (_selectKey == Compiler.InvalidQueryKey) 140internal override bool CompileAttribute(Compiler compiler)
System\Xml\Xsl\XsltOld\Stylesheet.cs (3)
65internal void AddSpace(Compiler compiler, string query, double Priority, bool PreserveSpace) 187if (template.MatchKey != Compiler.InvalidQueryKey) 244internal void ReplaceNamespaceAlias(Compiler compiler)
System\Xml\Xsl\XsltOld\TemplateAction.cs (11)
16private int _matchKey = Compiler.InvalidQueryKey; 53internal override void Compile(Compiler compiler) 56if (_matchKey == Compiler.InvalidQueryKey) 81internal void CompileSingle(Compiler compiler) 84_priority = Compiler.RootPriority; 89internal override bool CompileAttribute(Compiler compiler) 96Debug.Assert(_matchKey == Compiler.InvalidQueryKey); 126private void AnalyzePriority(Compiler compiler) 128if (!double.IsNaN(_priority) || _matchKey == Compiler.InvalidQueryKey) 162private void CompileParameters(Compiler compiler) 210internal override void ReplaceNamespaceAlias(Compiler compiler)
System\Xml\Xsl\XsltOld\TemplateLookupAction.cs (2)
104if (this.mode == Compiler.BuiltInMode) 108Debug.Assert(this.mode != Compiler.BuiltInMode);
System\Xml\Xsl\XsltOld\TemplateManager.cs (1)
88if (matchKey != Compiler.InvalidQueryKey)
System\Xml\Xsl\XsltOld\TextAction.cs (3)
16internal override void Compile(Compiler compiler) 22internal override bool CompileAttribute(Compiler compiler) 39private void CompileContent(Compiler compiler)
System\Xml\Xsl\XsltOld\TextEvent.cs (1)
23public TextEvent(Compiler compiler)
System\Xml\Xsl\XsltOld\UseAttributeSetsAction.cs (1)
24internal override void Compile(Compiler compiler)
System\Xml\Xsl\XsltOld\ValueOfAction.cs (4)
15private int _selectKey = Compiler.InvalidQueryKey; 26internal override void Compile(Compiler compiler) 29CheckRequiredAttribute(_selectKey != Compiler.InvalidQueryKey, "select"); 33internal override bool CompileAttribute(Compiler compiler)
System\Xml\Xsl\XsltOld\VariableAction.cs (5)
26protected int selectKey = Compiler.InvalidQueryKey; 61internal override void Compile(Compiler compiler) 74if (this.selectKey != Compiler.InvalidQueryKey && this.containedActions != null) 91internal override bool CompileAttribute(Compiler compiler) 147if (this.selectKey != Compiler.InvalidQueryKey)
System\Xml\Xsl\XsltOld\WithParamAction.cs (3)
16internal override void Compile(Compiler compiler) 25if (this.selectKey != Compiler.InvalidQueryKey && this.containedActions != null) 39if (this.selectKey != Compiler.InvalidQueryKey)
System\Xml\Xsl\XsltOld\XsltOutput.cs (3)
105internal override void Compile(Compiler compiler) 111internal override bool CompileAttribute(Compiler compiler) 222private static OutputMethod ParseOutputMethod(string value, Compiler compiler)
System\Xml\Xslt\XslTransform.cs (3)
89Compile(Compiler.LoadDocument(tr).CreateNavigator(), CreateDefaultResolver()); 98Compile(Compiler.LoadDocument(tr).CreateNavigator(), resolver); 247Compiler compiler = new Compiler();