コード例 #1
0
 public BoundQueryClause Update(
     BoundExpression value,
     RangeVariableSymbol definedSymbol,
     BoundExpression queryInvocation,
     BoundExpression castInvocation,
     Binder binder,
     BoundExpression unoptimizedForm,
     TypeSymbol type)
 {
     if (value != this.Value || definedSymbol != this.DefinedSymbol || queryInvocation != this.Operation || castInvocation != this.Cast || binder != this.Binder || unoptimizedForm != this.UnoptimizedForm || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
     {
         var result = new BoundQueryClause(this.Syntax, value, definedSymbol, queryInvocation, castInvocation, binder, unoptimizedForm, type, this.HasErrors);
         result.WasCompilerGenerated = this.WasCompilerGenerated;
         result.IsSuppressed         = this.IsSuppressed;
         return(result);
     }
     return(this);
 }
コード例 #2
0
 public override BoundNode VisitQueryClause(BoundQueryClause node)
 {
     return(base.VisitQueryClause(node));
 }
コード例 #3
0
ファイル: ReadWriteWalker.cs プロジェクト: stark-lang/stark
 public override BoundNode VisitQueryClause(BoundQueryClause node)
 {
     Assign(node, value: null);
     return(base.VisitQueryClause(node));
 }
コード例 #4
0
 public override BoundNode VisitQueryClause(BoundQueryClause node)
 {
     return(VisitExpression(node.Value));
 }
コード例 #5
0
 public override BoundNode VisitQueryClause(BoundQueryClause node)
 {
     this.Visit(node.Value);
     VisitUnoptimizedForm(node);
     return(null);
 }