C# 클래스 System.Xml.Xsl.IlGen.OptimizerPatterns

As the Qil graph is traversed, patterns are identified. Subtrees that match these patterns are annotated with this class, which identifies the matching patterns and their arguments.
상속: IQilAnnotation
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

공개 메소드들

메소드 설명
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 ) : OptimizerPatterns

Get OptimizerPatterns annotation for the specified node. Lazily create if necessary.

ToString ( ) : string

Return string representation of this annotation.

Write ( QilNode nd ) : OptimizerPatterns

Create and initialize OptimizerPatterns annotation for the specified node.

메소드 상세

AddArgument() 공개 메소드

Add an argument to one of the matching patterns.
public AddArgument ( OptimizerPatternArgument argId, object arg ) : void
argId OptimizerPatternArgument
arg object
리턴 void

AddPattern() 공개 메소드

Add a pattern to the list of patterns that the annotated node matches.
public AddPattern ( OptimizerPatternName pattern ) : void
pattern OptimizerPatternName
리턴 void

GetArgument() 공개 메소드

Get an argument of one of the matching patterns.
public GetArgument ( OptimizerPatternArgument argNum ) : object
argNum OptimizerPatternArgument
리턴 object

Inherit() 공개 정적인 메소드

Create and initialize OptimizerPatterns annotation for the specified node.
public static Inherit ( QilNode ndSrc, QilNode ndDst, OptimizerPatternName pattern ) : void
ndSrc QilNode
ndDst QilNode
pattern OptimizerPatternName
리턴 void

MatchesPattern() 공개 메소드

Return true if the annotated node matches the specified pattern.
public MatchesPattern ( OptimizerPatternName pattern ) : bool
pattern OptimizerPatternName
리턴 bool

Read() 공개 정적인 메소드

Get OptimizerPatterns annotation for the specified node. Lazily create if necessary.
public static Read ( QilNode nd ) : OptimizerPatterns
nd QilNode
리턴 OptimizerPatterns

ToString() 공개 메소드

Return string representation of this annotation.
public ToString ( ) : string
리턴 string

Write() 공개 정적인 메소드

Create and initialize OptimizerPatterns annotation for the specified node.
public static Write ( QilNode nd ) : OptimizerPatterns
nd QilNode
리턴 OptimizerPatterns