C# Class System.Xml.Xsl.IlGen.XmlILElementAnalyzer

Scans the content of an ElementCtor and tries to minimize the number of well-formed checks that will have to be made at runtime when constructing content.
Inheritance: XmlILStateAnalyzer
Datei anzeigen Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
Analyze ( QilNode ndElem, QilNode ndContent ) : QilNode

Analyze the content argument of the ElementCtor. Try to eliminate as many runtime checks as possible, both for the ElementCtor and for content constructors.

XmlILElementAnalyzer ( QilFactory fac ) : System

Constructor.

Protected Methods

Method Description
AnalyzeCopy ( QilNode ndCopy, XmlILConstructInfo info ) : void

Analyze copying items.

AnalyzeLoop ( QilLoop ndLoop, XmlILConstructInfo info ) : void

Analyze loop.

Private Methods

Method Description
AnalyzeAttributeCtor ( QilBinary ndAttr, XmlILConstructInfo info ) : void

Analyze attribute constructor.

CheckAttributeNamespaceConstruct ( XmlQueryType typ ) : void

If type might contain attributes or namespaces, set appropriate parent element flags.

Method Details

Analyze() public method

Analyze the content argument of the ElementCtor. Try to eliminate as many runtime checks as possible, both for the ElementCtor and for content constructors.
public Analyze ( QilNode ndElem, QilNode ndContent ) : QilNode
ndElem QilNode
ndContent QilNode
return QilNode

AnalyzeCopy() protected method

Analyze copying items.
protected AnalyzeCopy ( QilNode ndCopy, XmlILConstructInfo info ) : void
ndCopy QilNode
info XmlILConstructInfo
return void

AnalyzeLoop() protected method

Analyze loop.
protected AnalyzeLoop ( QilLoop ndLoop, XmlILConstructInfo info ) : void
ndLoop System.Xml.Xsl.Qil.QilLoop
info XmlILConstructInfo
return void

XmlILElementAnalyzer() public method

Constructor.
public XmlILElementAnalyzer ( QilFactory fac ) : System
fac System.Xml.Xsl.Qil.QilFactory
return System