C# Class System.Xml.Xsl.IlGen.XmlILOptimizerVisitor.EqualityIndexVisitor

Inheritance: System.Xml.Xsl.Qil.QilVisitor
Mostra file Open project: gbarnett/shared-source-cli-2.0

Protected Properties

Property Type Description
ctxt QilNode
result bool

Public Methods

Method Description
Scan ( QilNode expr, QilNode ctxt, QilNode key ) : bool

Returns true if the subtree of "expr" meets the following requirements: 1. Does not contain a reference to "key" 2. Every reference to "ctxt" is wrapped by a QilNodeType.Root node

Protected Methods

Method Description
VisitReference ( QilNode expr ) : QilNode

Recursively visit, looking for references to "key" and "ctxt".

VisitRoot ( QilUnary root ) : QilNode

If Root wraps a reference to "ctxt", then don't visit "ctxt" and continue scan.

Method Details

Scan() public method

Returns true if the subtree of "expr" meets the following requirements: 1. Does not contain a reference to "key" 2. Every reference to "ctxt" is wrapped by a QilNodeType.Root node
public Scan ( QilNode expr, QilNode ctxt, QilNode key ) : bool
expr QilNode
ctxt QilNode
key QilNode
return bool

VisitReference() protected method

Recursively visit, looking for references to "key" and "ctxt".
protected VisitReference ( QilNode expr ) : QilNode
expr QilNode
return QilNode

VisitRoot() protected method

If Root wraps a reference to "ctxt", then don't visit "ctxt" and continue scan.
protected VisitRoot ( QilUnary root ) : QilNode
root System.Xml.Xsl.Qil.QilUnary
return QilNode

Property Details

ctxt protected_oe property

protected QilNode ctxt
return QilNode

result protected_oe property

protected bool result
return bool