C# Class ICSharpCode.NRefactory.CSharp.Refactoring.PatternHelper.OptionalBlockPattern

Inheritance: ICSharpCode.NRefactory.PatternMatching.Pattern
Afficher le fichier Open project: 0xd4d/NRefactory

Méthodes publiques

Méthode Description
DoMatch ( INode other, Match match ) : bool
OptionalBlockPattern ( INode child ) : ICSharpCode.NRefactory.PatternMatching
UnpackBlockStatement ( Statement stmt ) : Statement

Unpacks the given expression if it is a ParenthesizedExpression, CheckedExpression or UncheckedExpression.

Method Details

DoMatch() public méthode

public DoMatch ( INode other, Match match ) : bool
other INode
match Match
Résultat bool

OptionalBlockPattern() public méthode

public OptionalBlockPattern ( INode child ) : ICSharpCode.NRefactory.PatternMatching
child INode
Résultat ICSharpCode.NRefactory.PatternMatching

UnpackBlockStatement() public static méthode

Unpacks the given expression if it is a ParenthesizedExpression, CheckedExpression or UncheckedExpression.
public static UnpackBlockStatement ( Statement stmt ) : Statement
stmt Statement
Résultat Statement