Exemplo n.º 1
0
        public override bool IsComplex()
        {
            bool comp = false;

            if (TrueExpression != null)
            {
                comp |= TrueExpression.IsComplex();
            }
            if (FalseExpression != null)
            {
                comp |= FalseExpression.IsComplex();
            }

            return(comp | GetFixedWidth() <= 0);
        }
Exemplo n.º 2
0
 public override bool IsComplex()
 {
     if (group == null)
     {
         return(Alternate.IsComplex());
     }
     if (TrueExpression != null && TrueExpression.IsComplex())
     {
         return(true);
     }
     if (FalseExpression != null && FalseExpression.IsComplex())
     {
         return(true);
     }
     return(GetFixedWidth() <= 0);
 }