C# 클래스 System.Xml.Xsl.IlGen.XmlILStateAnalyzer

Scans the content of an constructor and tries to minimize the number of well-formed checks that will have to be made at runtime when constructing content.
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
fac System.Xml.Xsl.Qil.QilFactory
parentInfo XmlILConstructInfo
withinElem bool
xstates PossibleXmlStates

공개 메소드들

메소드 설명
Analyze ( QilNode ndConstr, QilNode ndContent ) : QilNode

Perform analysis on the specified constructor and its content. Return the ndContent that was passed in, or a replacement.

XmlILStateAnalyzer ( QilFactory fac ) : System

Constructor.

보호된 메소드들

메소드 설명
AnalyzeChoice ( QilChoice ndChoice, XmlILConstructInfo info ) : void

Analyze choice.

AnalyzeConditional ( QilTernary ndCond, XmlILConstructInfo info ) : void

Analyze conditional.

AnalyzeContent ( QilNode nd ) : QilNode

Recursively analyze content. Return "nd" or a replacement for it.

AnalyzeCopy ( QilNode ndCopy, XmlILConstructInfo info ) : void

Analyze copying items.

AnalyzeLoop ( QilLoop ndLoop, XmlILConstructInfo info ) : void

Analyze loop.

AnalyzeSequence ( QilList ndSeq, XmlILConstructInfo info ) : void

Analyze list.

비공개 메소드들

메소드 설명
EndLoop ( XmlQueryType typ, XmlILConstructInfo info ) : void

Calculate ending xml states that will result when iterating over and constructing an expression of the specified type.

MaybeAttrNmsp ( XmlQueryType typ ) : bool

Return true if an instance of the specified type might be an attribute or a namespace node.

MaybeContent ( XmlQueryType typ ) : bool

Return true if an instance of the specified type might be a non-empty content type (attr/nsmp don't count).

StartLoop ( XmlQueryType typ, XmlILConstructInfo info ) : void

Calculate starting xml states that will result when iterating over and constructing an expression of the specified type.

메소드 상세

Analyze() 공개 메소드

Perform analysis on the specified constructor and its content. Return the ndContent that was passed in, or a replacement.
public Analyze ( QilNode ndConstr, QilNode ndContent ) : QilNode
ndConstr QilNode
ndContent QilNode
리턴 QilNode

AnalyzeChoice() 보호된 메소드

Analyze choice.
protected AnalyzeChoice ( QilChoice ndChoice, XmlILConstructInfo info ) : void
ndChoice System.Xml.Xsl.Qil.QilChoice
info XmlILConstructInfo
리턴 void

AnalyzeConditional() 보호된 메소드

Analyze conditional.
protected AnalyzeConditional ( QilTernary ndCond, XmlILConstructInfo info ) : void
ndCond System.Xml.Xsl.Qil.QilTernary
info XmlILConstructInfo
리턴 void

AnalyzeContent() 보호된 메소드

Recursively analyze content. Return "nd" or a replacement for it.
protected AnalyzeContent ( QilNode nd ) : QilNode
nd QilNode
리턴 QilNode

AnalyzeCopy() 보호된 메소드

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

AnalyzeLoop() 보호된 메소드

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

AnalyzeSequence() 보호된 메소드

Analyze list.
protected AnalyzeSequence ( QilList ndSeq, XmlILConstructInfo info ) : void
ndSeq System.Xml.Xsl.Qil.QilList
info XmlILConstructInfo
리턴 void

XmlILStateAnalyzer() 공개 메소드

Constructor.
public XmlILStateAnalyzer ( QilFactory fac ) : System
fac System.Xml.Xsl.Qil.QilFactory
리턴 System

프로퍼티 상세

fac 보호되어 있는 프로퍼티

protected QilFactory,System.Xml.Xsl.Qil fac
리턴 System.Xml.Xsl.Qil.QilFactory

parentInfo 보호되어 있는 프로퍼티

protected XmlILConstructInfo,System.Xml.Xsl.IlGen parentInfo
리턴 XmlILConstructInfo

withinElem 보호되어 있는 프로퍼티

protected bool withinElem
리턴 bool

xstates 보호되어 있는 프로퍼티

protected PossibleXmlStates xstates
리턴 PossibleXmlStates