Exemple #1
0
 public virtual void OnTernaryExpression(TernaryExpression node)
 {
     if (EnterTernaryExpression(node))
     {
         Switch(node.Condition);
         Switch(node.TrueExpression);
         Switch(node.FalseExpression);
         LeaveTernaryExpression(node);
     }
 }
Exemple #2
0
 public virtual void LeaveTernaryExpression(TernaryExpression node)
 {
 }
Exemple #3
0
 public virtual bool EnterTernaryExpression(TernaryExpression node)
 {
     return(true);
 }