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

Additional factory methods for constructing common QIL patterns.
Some of the methods here are exactly like the ones in QilFactory except that they perform constant-folding and other normalization. Others are "macro patterns" that simplify the task of constructing otherwise complex patterns.
Exibir arquivo Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
ActualParameterList ( ) : QilList
ActualParameterList ( QilNode arg1 ) : QilList
ActualParameterList ( QilNode arg1, QilNode arg2 ) : QilList
Add ( QilNode left, QilNode right ) : QilNode
After ( QilNode left, QilNode right ) : QilNode
Ancestor ( QilNode expr ) : QilNode
AncestorOrSelf ( QilNode expr ) : QilNode
And ( QilNode left, QilNode right ) : QilNode
AttributeCtor ( QilNode name, QilNode val ) : QilNode
Before ( QilNode left, QilNode right ) : QilNode
Boolean ( bool b ) : QilNode
BranchList ( ) : QilList
Choice ( QilNode expr, QilList branches ) : QilNode
CommentCtor ( QilNode content ) : QilNode
Conditional ( QilNode condition, QilNode trueBranch, QilNode falseBranch ) : QilNode
Content ( QilNode context ) : QilNode
DataSource ( QilNode name, QilNode baseUri ) : QilNode
Deref ( QilNode context, QilNode id ) : QilBinary
Descendant ( QilNode expr ) : QilNode
DescendantOrSelf ( QilNode context ) : QilNode
Divide ( QilNode left, QilNode right ) : QilNode
DocOrderDistinct ( QilNode collection ) : QilNode
DocumentCtor ( QilNode child ) : QilNode
Double ( double val ) : QilLiteral
ElementCtor ( QilNode name, QilNode content ) : QilNode
Eq ( QilNode left, QilNode right ) : QilNode
Error ( QilNode text ) : QilNode
False ( ) : QilNode
Filter ( QilIterator variable, QilNode expr ) : QilNode
FollowingSibling ( QilNode expr ) : QilNode
For ( QilNode binding ) : QilIterator
FormalParameterList ( ) : QilList
FormalParameterList ( QilNode arg1 ) : QilList
FormalParameterList ( QilNode arg1, QilNode arg2 ) : QilList
Function ( QilList args, QilNode defn, QilNode sideEffects ) : QilFunction
Function ( QilList args, QilNode sideEffects, XmlQueryType resultType ) : QilFunction
FunctionList ( ) : QilList
Ge ( QilNode left, QilNode right ) : QilNode
GlobalParameterList ( ) : QilList
GlobalVariableList ( ) : QilList
Gt ( QilNode left, QilNode right ) : QilNode
Int32 ( int val ) : QilLiteral
Invoke ( QilFunction func, QilList args ) : QilNode
Is ( QilNode left, QilNode right ) : QilNode
IsEmpty ( QilNode set ) : QilNode
IsType ( QilNode expr, XmlQueryType t ) : QilNode
Le ( QilNode left, QilNode right ) : QilNode
Length ( QilNode child ) : QilNode
Let ( QilNode binding ) : QilIterator
LocalNameOf ( QilNode expr ) : QilNode
Loop ( QilIterator variable, QilNode body ) : QilNode
Lt ( QilNode left, QilNode right ) : QilNode
Modulo ( QilNode left, QilNode right ) : QilNode
Multiply ( QilNode left, QilNode right ) : QilNode
NameOf ( QilNode expr ) : QilNode
NamespaceDecl ( QilNode prefix, QilNode uri ) : QilNode
NamespaceUriOf ( QilNode expr ) : QilNode
Ne ( QilNode left, QilNode right ) : QilNode
Negate ( QilNode child ) : QilNode
NodeRange ( QilNode left, QilNode right ) : QilNode
Nop ( QilNode child ) : QilNode
Not ( QilNode child ) : QilNode
OptimizeBarrier ( QilNode child ) : QilNode
Or ( QilNode left, QilNode right ) : QilNode
PICtor ( QilNode name, QilNode content ) : QilNode
Parameter ( QilNode defaultValue, QilName name, XmlQueryType t ) : QilParameter
Parameter ( XmlQueryType t ) : QilParameter
Parent ( QilNode context ) : QilNode
PositionOf ( QilIterator expr ) : QilNode
Preceding ( QilNode expr ) : QilNode
PrecedingSibling ( QilNode expr ) : QilNode
PrefixOf ( QilNode expr ) : QilNode
QName ( string local ) : QilName
QName ( string local, string uri ) : QilName
QName ( string local, string uri, string prefix ) : QilName
QilExpression ( QilNode root, QilFactory factory ) : QilExpression
QilPatternFactory ( QilFactory f, bool debug ) : System.Collections.Generic
RawTextCtor ( QilNode content ) : QilNode
Root ( QilNode context ) : QilNode
RtfCtor ( QilNode content, QilNode baseUri ) : QilNode
Sequence ( ) : QilNode
Sequence ( QilNode child ) : QilNode
Sequence ( QilNode child1, QilNode child2 ) : QilNode
Sort ( QilIterator iter, QilNode keys ) : QilNode
SortKey ( QilNode key, QilNode collation ) : QilSortKey
SortKeyList ( ) : QilList
SortKeyList ( QilSortKey key ) : QilList
StrConcat ( ) : QilNode
StrConcat ( IList args ) : QilNode
StrConcat ( QilNode values ) : QilNode
StrLength ( QilNode str ) : QilNode
StrParseQName ( QilNode str, QilNode ns ) : QilNode
String ( string val ) : QilLiteral
Subtract ( QilNode left, QilNode right ) : QilNode
Sum ( QilNode collection ) : QilNode
TextCtor ( QilNode content ) : QilNode
True ( ) : QilNode
TypeAssert ( QilNode expr, XmlQueryType t ) : QilNode
Union ( QilNode left, QilNode right ) : QilNode
Unknown ( XmlQueryType t ) : QilNode
Warning ( QilNode text ) : QilNode
XPathFollowing ( QilNode expr ) : QilNode
XPathNamespace ( QilNode expr ) : QilNode
XPathNodeValue ( QilNode expr ) : QilNode
XPathPreceding ( QilNode expr ) : QilNode
XmlContext ( ) : QilNode
XsltConvert ( QilNode expr, XmlQueryType t ) : QilNode
XsltCopy ( QilNode expr, QilNode content ) : QilNode
XsltCopyOf ( QilNode expr ) : QilNode
XsltGenerateId ( QilNode expr ) : QilNode
XsltInvokeEarlyBound ( QilNode name, MethodInfo d, XmlQueryType t, IList args ) : QilNode
XsltInvokeLateBound ( QilNode name, IList args ) : QilNode

Private Methods

Method Description
CheckLogicArg ( QilNode arg ) : void

Method Details

ActualParameterList() public method

public ActualParameterList ( ) : QilList
return QilList

ActualParameterList() public method

public ActualParameterList ( QilNode arg1 ) : QilList
arg1 QilNode
return QilList

ActualParameterList() public method

public ActualParameterList ( QilNode arg1, QilNode arg2 ) : QilList
arg1 QilNode
arg2 QilNode
return QilList

Add() public method

public Add ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

After() public method

public After ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

Ancestor() public method

public Ancestor ( QilNode expr ) : QilNode
expr QilNode
return QilNode

AncestorOrSelf() public method

public AncestorOrSelf ( QilNode expr ) : QilNode
expr QilNode
return QilNode

And() public method

public And ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

AttributeCtor() public method

public AttributeCtor ( QilNode name, QilNode val ) : QilNode
name QilNode
val QilNode
return QilNode

Before() public method

public Before ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

Boolean() public method

public Boolean ( bool b ) : QilNode
b bool
return QilNode

BranchList() public method

public BranchList ( ) : QilList
return QilList

Choice() public method

public Choice ( QilNode expr, QilList branches ) : QilNode
expr QilNode
branches QilList
return QilNode

CommentCtor() public method

public CommentCtor ( QilNode content ) : QilNode
content QilNode
return QilNode

Conditional() public method

public Conditional ( QilNode condition, QilNode trueBranch, QilNode falseBranch ) : QilNode
condition QilNode
trueBranch QilNode
falseBranch QilNode
return QilNode

Content() public method

public Content ( QilNode context ) : QilNode
context QilNode
return QilNode

DataSource() public method

public DataSource ( QilNode name, QilNode baseUri ) : QilNode
name QilNode
baseUri QilNode
return QilNode

Deref() public method

public Deref ( QilNode context, QilNode id ) : QilBinary
context QilNode
id QilNode
return QilBinary

Descendant() public method

public Descendant ( QilNode expr ) : QilNode
expr QilNode
return QilNode

DescendantOrSelf() public method

public DescendantOrSelf ( QilNode context ) : QilNode
context QilNode
return QilNode

Divide() public method

public Divide ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

DocOrderDistinct() public method

public DocOrderDistinct ( QilNode collection ) : QilNode
collection QilNode
return QilNode

DocumentCtor() public method

public DocumentCtor ( QilNode child ) : QilNode
child QilNode
return QilNode

Double() public method

public Double ( double val ) : QilLiteral
val double
return QilLiteral

ElementCtor() public method

public ElementCtor ( QilNode name, QilNode content ) : QilNode
name QilNode
content QilNode
return QilNode

Eq() public method

public Eq ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

Error() public method

public Error ( QilNode text ) : QilNode
text QilNode
return QilNode

False() public method

public False ( ) : QilNode
return QilNode

Filter() public method

public Filter ( QilIterator variable, QilNode expr ) : QilNode
variable QilIterator
expr QilNode
return QilNode

FollowingSibling() public method

public FollowingSibling ( QilNode expr ) : QilNode
expr QilNode
return QilNode

For() public method

public For ( QilNode binding ) : QilIterator
binding QilNode
return QilIterator

FormalParameterList() public method

public FormalParameterList ( ) : QilList
return QilList

FormalParameterList() public method

public FormalParameterList ( QilNode arg1 ) : QilList
arg1 QilNode
return QilList

FormalParameterList() public method

public FormalParameterList ( QilNode arg1, QilNode arg2 ) : QilList
arg1 QilNode
arg2 QilNode
return QilList

Function() public method

public Function ( QilList args, QilNode defn, QilNode sideEffects ) : QilFunction
args QilList
defn QilNode
sideEffects QilNode
return QilFunction

Function() public method

public Function ( QilList args, QilNode sideEffects, XmlQueryType resultType ) : QilFunction
args QilList
sideEffects QilNode
resultType XmlQueryType
return QilFunction

FunctionList() public method

public FunctionList ( ) : QilList
return QilList

Ge() public method

public Ge ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

GlobalParameterList() public method

public GlobalParameterList ( ) : QilList
return QilList

GlobalVariableList() public method

public GlobalVariableList ( ) : QilList
return QilList

Gt() public method

public Gt ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

Int32() public method

public Int32 ( int val ) : QilLiteral
val int
return QilLiteral

Invoke() public method

public Invoke ( QilFunction func, QilList args ) : QilNode
func QilFunction
args QilList
return QilNode

Is() public method

public Is ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

IsEmpty() public method

public IsEmpty ( QilNode set ) : QilNode
set QilNode
return QilNode

IsType() public method

public IsType ( QilNode expr, XmlQueryType t ) : QilNode
expr QilNode
t XmlQueryType
return QilNode

Le() public method

public Le ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

Length() public method

public Length ( QilNode child ) : QilNode
child QilNode
return QilNode

Let() public method

public Let ( QilNode binding ) : QilIterator
binding QilNode
return QilIterator

LocalNameOf() public method

public LocalNameOf ( QilNode expr ) : QilNode
expr QilNode
return QilNode

Loop() public method

public Loop ( QilIterator variable, QilNode body ) : QilNode
variable QilIterator
body QilNode
return QilNode

Lt() public method

public Lt ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

Modulo() public method

public Modulo ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

Multiply() public method

public Multiply ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

NameOf() public method

public NameOf ( QilNode expr ) : QilNode
expr QilNode
return QilNode

NamespaceDecl() public method

public NamespaceDecl ( QilNode prefix, QilNode uri ) : QilNode
prefix QilNode
uri QilNode
return QilNode

NamespaceUriOf() public method

public NamespaceUriOf ( QilNode expr ) : QilNode
expr QilNode
return QilNode

Ne() public method

public Ne ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

Negate() public method

public Negate ( QilNode child ) : QilNode
child QilNode
return QilNode

NodeRange() public method

public NodeRange ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

Nop() public method

public Nop ( QilNode child ) : QilNode
child QilNode
return QilNode

Not() public method

public Not ( QilNode child ) : QilNode
child QilNode
return QilNode

OptimizeBarrier() public method

public OptimizeBarrier ( QilNode child ) : QilNode
child QilNode
return QilNode

Or() public method

public Or ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

PICtor() public method

public PICtor ( QilNode name, QilNode content ) : QilNode
name QilNode
content QilNode
return QilNode

Parameter() public method

public Parameter ( QilNode defaultValue, QilName name, XmlQueryType t ) : QilParameter
defaultValue QilNode
name QilName
t XmlQueryType
return QilParameter

Parameter() public method

public Parameter ( XmlQueryType t ) : QilParameter
t XmlQueryType
return QilParameter

Parent() public method

public Parent ( QilNode context ) : QilNode
context QilNode
return QilNode

PositionOf() public method

public PositionOf ( QilIterator expr ) : QilNode
expr QilIterator
return QilNode

Preceding() public method

public Preceding ( QilNode expr ) : QilNode
expr QilNode
return QilNode

PrecedingSibling() public method

public PrecedingSibling ( QilNode expr ) : QilNode
expr QilNode
return QilNode

PrefixOf() public method

public PrefixOf ( QilNode expr ) : QilNode
expr QilNode
return QilNode

QName() public method

public QName ( string local ) : QilName
local string
return QilName

QName() public method

public QName ( string local, string uri ) : QilName
local string
uri string
return QilName

QName() public method

public QName ( string local, string uri, string prefix ) : QilName
local string
uri string
prefix string
return QilName

QilExpression() public method

public QilExpression ( QilNode root, QilFactory factory ) : QilExpression
root QilNode
factory QilFactory
return QilExpression

QilPatternFactory() public method

public QilPatternFactory ( QilFactory f, bool debug ) : System.Collections.Generic
f QilFactory
debug bool
return System.Collections.Generic

RawTextCtor() public method

public RawTextCtor ( QilNode content ) : QilNode
content QilNode
return QilNode

Root() public method

public Root ( QilNode context ) : QilNode
context QilNode
return QilNode

RtfCtor() public method

public RtfCtor ( QilNode content, QilNode baseUri ) : QilNode
content QilNode
baseUri QilNode
return QilNode

Sequence() public method

public Sequence ( ) : QilNode
return QilNode

Sequence() public method

public Sequence ( QilNode child ) : QilNode
child QilNode
return QilNode

Sequence() public method

public Sequence ( QilNode child1, QilNode child2 ) : QilNode
child1 QilNode
child2 QilNode
return QilNode

Sort() public method

public Sort ( QilIterator iter, QilNode keys ) : QilNode
iter QilIterator
keys QilNode
return QilNode

SortKey() public method

public SortKey ( QilNode key, QilNode collation ) : QilSortKey
key QilNode
collation QilNode
return QilSortKey

SortKeyList() public method

public SortKeyList ( ) : QilList
return QilList

SortKeyList() public method

public SortKeyList ( QilSortKey key ) : QilList
key QilSortKey
return QilList

StrConcat() public method

public StrConcat ( ) : QilNode
return QilNode

StrConcat() public method

public StrConcat ( IList args ) : QilNode
args IList
return QilNode

StrConcat() public method

public StrConcat ( QilNode values ) : QilNode
values QilNode
return QilNode

StrLength() public method

public StrLength ( QilNode str ) : QilNode
str QilNode
return QilNode

StrParseQName() public method

public StrParseQName ( QilNode str, QilNode ns ) : QilNode
str QilNode
ns QilNode
return QilNode

String() public method

public String ( string val ) : QilLiteral
val string
return QilLiteral

Subtract() public method

public Subtract ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

Sum() public method

public Sum ( QilNode collection ) : QilNode
collection QilNode
return QilNode

TextCtor() public method

public TextCtor ( QilNode content ) : QilNode
content QilNode
return QilNode

True() public method

public True ( ) : QilNode
return QilNode

TypeAssert() public method

public TypeAssert ( QilNode expr, XmlQueryType t ) : QilNode
expr QilNode
t XmlQueryType
return QilNode

Union() public method

public Union ( QilNode left, QilNode right ) : QilNode
left QilNode
right QilNode
return QilNode

Unknown() public method

public Unknown ( XmlQueryType t ) : QilNode
t XmlQueryType
return QilNode

Warning() public method

public Warning ( QilNode text ) : QilNode
text QilNode
return QilNode

XPathFollowing() public method

public XPathFollowing ( QilNode expr ) : QilNode
expr QilNode
return QilNode

XPathNamespace() public method

public XPathNamespace ( QilNode expr ) : QilNode
expr QilNode
return QilNode

XPathNodeValue() public method

public XPathNodeValue ( QilNode expr ) : QilNode
expr QilNode
return QilNode

XPathPreceding() public method

public XPathPreceding ( QilNode expr ) : QilNode
expr QilNode
return QilNode

XmlContext() public method

public XmlContext ( ) : QilNode
return QilNode

XsltConvert() public method

public XsltConvert ( QilNode expr, XmlQueryType t ) : QilNode
expr QilNode
t XmlQueryType
return QilNode

XsltCopy() public method

public XsltCopy ( QilNode expr, QilNode content ) : QilNode
expr QilNode
content QilNode
return QilNode

XsltCopyOf() public method

public XsltCopyOf ( QilNode expr ) : QilNode
expr QilNode
return QilNode

XsltGenerateId() public method

public XsltGenerateId ( QilNode expr ) : QilNode
expr QilNode
return QilNode

XsltInvokeEarlyBound() public method

public XsltInvokeEarlyBound ( QilNode name, MethodInfo d, XmlQueryType t, IList args ) : QilNode
name QilNode
d System.Reflection.MethodInfo
t XmlQueryType
args IList
return QilNode

XsltInvokeLateBound() public method

public XsltInvokeLateBound ( QilNode name, IList args ) : QilNode
name QilNode
args IList
return QilNode