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

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

Protected Properties

Property Type Description
result bool
target QilNode

Public Methods

Method Description
Find ( QilNode expr, QilNode target ) : bool

Returns true if "target" node exists within the subtree of "expr".

Protected Methods

Method Description
OnFound ( QilNode expr ) : bool

By default, just return true.

Visit ( QilNode expr ) : QilNode

Recursively visit, searching for target. If/when found, call OnFound() method.

VisitReference ( QilNode expr ) : QilNode

Determine whether target is a reference.

Method Details

Find() public method

Returns true if "target" node exists within the subtree of "expr".
public Find ( QilNode expr, QilNode target ) : bool
expr QilNode
target QilNode
return bool

OnFound() protected method

By default, just return true.
protected OnFound ( QilNode expr ) : bool
expr QilNode
return bool

Visit() protected method

Recursively visit, searching for target. If/when found, call OnFound() method.
protected Visit ( QilNode expr ) : QilNode
expr QilNode
return QilNode

VisitReference() protected method

Determine whether target is a reference.
protected VisitReference ( QilNode expr ) : QilNode
expr QilNode
return QilNode

Property Details

result protected_oe property

protected bool result
return bool

target protected_oe property

protected QilNode target
return QilNode