Method | Description | |
---|---|---|
AddArgument ( OptimizerPatternArgument argId, object arg ) : void |
Add an argument to one of the matching patterns.
|
|
AddPattern ( OptimizerPatternName pattern ) : void |
Add a pattern to the list of patterns that the annotated node matches.
|
|
GetArgument ( OptimizerPatternArgument argNum ) : object |
Get an argument of one of the matching patterns.
|
|
Inherit ( QilNode ndSrc, QilNode ndDst, OptimizerPatternName pattern ) : void |
Create and initialize OptimizerPatterns annotation for the specified node.
|
|
MatchesPattern ( OptimizerPatternName pattern ) : bool |
Return true if the annotated node matches the specified pattern.
|
|
Read ( QilNode nd ) : |
Get OptimizerPatterns annotation for the specified node. Lazily create if necessary.
|
|
ToString ( ) : string |
Return string representation of this annotation.
|
|
Write ( QilNode nd ) : |
Create and initialize OptimizerPatterns annotation for the specified node.
|
public AddArgument ( OptimizerPatternArgument argId, object arg ) : void | ||
argId | OptimizerPatternArgument | |
arg | object | |
return | void |
public AddPattern ( OptimizerPatternName pattern ) : void | ||
pattern | OptimizerPatternName | |
return | void |
public GetArgument ( OptimizerPatternArgument argNum ) : object | ||
argNum | OptimizerPatternArgument | |
return | object |
public static Inherit ( QilNode ndSrc, QilNode ndDst, OptimizerPatternName pattern ) : void | ||
ndSrc | QilNode | |
ndDst | QilNode | |
pattern | OptimizerPatternName | |
return | void |
public MatchesPattern ( OptimizerPatternName pattern ) : bool | ||
pattern | OptimizerPatternName | |
return | bool |
public static Read ( QilNode nd ) : |
||
nd | QilNode | |
return |
public static Write ( QilNode nd ) : |
||
nd | QilNode | |
return |