C# Class System.Xml.Xsl.Qil.QilFunction

An anonymous QilExpression function node.

Function is a block, so it may introduce assignments (scoped to the function body). Additionally, it has an argument list, which will be assigned values when the function is invoked.

The XmlType property defines the expected return type of this function. Normally, this should be the same as its definition's types, so setting the function definition changes the function's types. In some rare cases, a compiler may wish to override the types after setting the function's definition (for example, an XQuery might define a function's return type to be wider than its definition would imply.)

Inheritance: QilReference
Exibir arquivo Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
QilFunction ( QilNodeType nodeType, QilNode arguments, QilNode definition, QilNode sideEffects, XmlQueryType resultType ) : System

Construct a node

this ( int index ) : QilNode

Method Details

QilFunction() public method

Construct a node
public QilFunction ( QilNodeType nodeType, QilNode arguments, QilNode definition, QilNode sideEffects, XmlQueryType resultType ) : System
nodeType QilNodeType
arguments QilNode
definition QilNode
sideEffects QilNode
resultType XmlQueryType
return System

this() public method

public this ( int index ) : QilNode
index int
return QilNode