public CaseExpression(Expression value, WhenClause/*!*/[] whenClauses, Statements elseStatements, SourceSpan location) : base(location) { _value = value; _whenClauses = whenClauses ?? WhenClause.EmptyArray; _elseStatements = elseStatements; }
internal protected virtual void Walk(WhenClause /*!*/ node) { if (Enter(node)) { VisitList(node.Comparisons); VisitOptionalList(node.Statements); } Exit(node); }
internal protected virtual void Walk(WhenClause /*!*/ node) { if (Enter(node)) { VisitOptionalList(node.Comparisons); if (node.ComparisonArray != null) { node.ComparisonArray.Walk(this); } VisitOptionalList(node.Statements); } Exit(node); }
public virtual void Exit(WhenClause/*!*/ node) { }
public virtual bool Enter(WhenClause/*!*/ node) { return true; }
public virtual void Exit(WhenClause /*!*/ node) { }
public virtual bool Enter(WhenClause /*!*/ node) { return(true); }
internal CaseExpression(Expression value, WhenClause/*!*/[] whenClauses, ElseIfClause elseClause, SourceSpan location) : this(value, whenClauses, (elseClause != null) ? elseClause.Statements : null, location) { }