public virtual void OnTernaryExpression(TernaryExpression node) { if (EnterTernaryExpression(node)) { Switch(node.Condition); Switch(node.TrueExpression); Switch(node.FalseExpression); LeaveTernaryExpression(node); } }
public virtual void LeaveTernaryExpression(TernaryExpression node) { }
public virtual bool EnterTernaryExpression(TernaryExpression node) { return(true); }