public override void Accept(ExprNodeVisitor visitor) { base.Accept(visitor); if (ChildNodes.Length == 0) { ExpressionBodyCopy.Accept(visitor); } }
public override void Accept(ExprNodeVisitor visitor) { AcceptNoVisitParams(visitor); if (WalkParams(visitor)) { ExprNodeUtilityQuery.AcceptParams(visitor, ChainParameters); } }
public void Accept(ExprNodeVisitor visitor) { foreach (var parameter in parameters) { parameter.Accept(visitor); } }
public override void Accept(ExprNodeVisitor visitor) { if (visitor.IsVisit(this)) { visitor.Visit(this); inner.Accept(visitor); } }
public static void AcceptParams( ExprNodeVisitor visitor, IList<ExprNode> @params) { foreach (var param in @params) { param.Accept(visitor); } }
public static void AcceptChain( ExprNodeVisitor visitor, IList<ExprChainedSpec> chainSpec) { foreach (var chain in chainSpec) { AcceptParams(visitor, chain.Parameters); } }
public static void AcceptChain( ExprNodeVisitor visitor, IList<Chainable> chainSpec) { foreach (var chain in chainSpec) { chain.Accept(visitor); } }
public virtual void Accept(ExprNodeVisitor visitor) { if (visitor.IsVisit(this)) { visitor.Visit(this); foreach (var childNode in ChildNodes) { childNode.Accept(visitor); } } }
public override void Accept(ExprNodeVisitor visitor) { base.Accept(visitor); ExprNodeUtilityQuery.AcceptParams(visitor, Parameters); }
public override void Accept(ExprNodeVisitor visitor) { // no action }
public override void Accept(ExprNodeVisitor visitor) { base.Accept(visitor); ExprNodeUtility.AcceptChain(visitor, _chainSpec); }
public override void Accept(ExprNodeVisitor visitor) { Lhs.Accept(visitor); Rhs.Accept(visitor); }
public override void Accept(ExprNodeVisitor visitor) { AcceptParams(visitor, Indexes); }
public override void Accept(ExprNodeVisitor visitor) { AcceptParams(visitor, Parameters); }
public void AcceptNoVisitParams(ExprNodeVisitor visitor) { base.Accept(visitor); if (ChildNodes.Length == 0) { ExpressionBodyCopy.Accept(visitor); } }
public override void Accept(ExprNodeVisitor visitor) { // no parameters }
public override void Accept(ExprNodeVisitor visitor) { base.Accept(visitor); forge.Accept(visitor); }
public abstract void Accept(ExprNodeVisitor visitor);
private bool WalkParams(ExprNodeVisitor visitor) { // we do not walk parameters when all stream ids match and the visitor skips declared-expression parameters // this is because parameters are streams and don't need to be collected by some visitors return visitor.IsWalkDeclExprParam || !allStreamIdsMatch; }
public override void Accept(ExprNodeVisitor visitor) { Expression.Accept(visitor); }
public override void Accept(ExprNodeVisitor visitor) { foreach (var node in _indexExpressions) { node.Accept(visitor); } }