protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { QueryLetClause o = other as QueryLetClause; return(o != null && MatchString(this.Identifier, o.Identifier) && this.Expression.DoMatch(o.Expression, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { WhileStatement o = other as WhileStatement; return(o != null && this.Condition.DoMatch(o.Condition, match) && this.EmbeddedStatement.DoMatch(o.EmbeddedStatement, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { YieldBreakStatement o = other as YieldBreakStatement; return(o != null); }
bool PatternMatching.INode.DoMatchCollection(Role role, PatternMatching.INode pos, PatternMatching.Match match, PatternMatching.BacktrackingInfo backtrackingInfo) { return(child.DoMatchCollection(role, pos, match, backtrackingInfo)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { return(other == null || other.IsNull); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { TryCatchStatement o = other as TryCatchStatement; return(o != null && this.TryBlock.DoMatch(o.TryBlock, match) && this.CatchClauses.DoMatch(o.CatchClauses, match) && this.FinallyBlock.DoMatch(o.FinallyBlock, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { UncheckedExpression o = other as UncheckedExpression; return(o != null && this.Expression.DoMatch(o.Expression, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { QueryExpression o = other as QueryExpression; return(o != null && !o.IsNull && this.Clauses.DoMatch(o.Clauses, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { var o = other as WhitespaceNode; return(o != null && o.WhiteSpaceText == WhiteSpaceText); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { QuerySelectClause o = other as QuerySelectClause; return(o != null && this.Expression.DoMatch(o.Expression, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { QueryGroupClause o = other as QueryGroupClause; return(o != null && this.Projection.DoMatch(o.Projection, match) && this.Key.DoMatch(o.Key, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { QueryOrdering o = other as QueryOrdering; return(o != null && this.Direction == o.Direction && this.Expression.DoMatch(o.Expression, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { QueryOrderClause o = other as QueryOrderClause; return(o != null && this.Orderings.DoMatch(o.Orderings, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { QueryWhereClause o = other as QueryWhereClause; return(o != null && this.Condition.DoMatch(o.Condition, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { ArraySpecifier o = other as ArraySpecifier; return(o != null && this.Dimensions == o.Dimensions); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { Comment o = other as Comment; return(o != null && this.IsDocumentationComment == o.IsDocumentationComment && MatchString(this.Content, o.Content)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { CatchClause o = other as CatchClause; return(o != null && this.Type.DoMatch(o.Type, match) && MatchString(this.VariableName, o.VariableName) && this.Body.DoMatch(o.Body, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { throw new NotImplementedException(); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { IfElseStatement o = other as IfElseStatement; return(o != null && this.Condition.DoMatch(o.Condition, match) && this.TrueStatement.DoMatch(o.TrueStatement, match) && this.FalseStatement.DoMatch(o.FalseStatement, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { TypeReferenceExpression o = other as TypeReferenceExpression; return(o != null && this.Type.DoMatch(o.Type, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { ReturnStatement o = other as ReturnStatement; return(o != null && this.Expression.DoMatch(o.Expression, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { ConditionalExpression o = other as ConditionalExpression; return(o != null && this.Condition.DoMatch(o.Condition, match) && this.TrueExpression.DoMatch(o.TrueExpression, match) && this.FalseExpression.DoMatch(o.FalseExpression, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { VariableInitializer o = other as VariableInitializer; return(o != null && MatchString(this.Name, o.Name) && this.Initializer.DoMatch(o.Initializer, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { var o = other as AnonymousTypeCreateExpression; return(o != null && this.Initializers.DoMatch(o.Initializers, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { return(child.DoMatch(other, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { ConstructorInitializer o = other as ConstructorInitializer; return(o != null && !o.IsNull && this.Base.DoMatch(o.Base, match) && this.Arguments.DoMatch(o.Arguments, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { NamedArgumentExpression o = other as NamedArgumentExpression; return(o != null && MatchString(this.Name, o.Name) && this.Expression.DoMatch(o.Expression, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { UsingStatement o = other as UsingStatement; return(o != null && this.ResourceAcquisition.DoMatch(o.ResourceAcquisition, match) && this.EmbeddedStatement.DoMatch(o.EmbeddedStatement, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { UsingAliasDeclaration o = other as UsingAliasDeclaration; return(o != null && MatchString(this.Alias, o.Alias) && this.Import.DoMatch(o.Import, match)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { QueryContinuationClause o = other as QueryContinuationClause; return(o != null && MatchString(this.Identifier, o.Identifier) && this.PrecedingQuery.DoMatch(o.PrecedingQuery, match)); }