system/src/sc/lang/java/Statement.java
public boolean hasErrors() {
      if (errorArgs != null)
         return true;

      DynType type = TypeUtil.getPropertyCache(getClass());
      IBeanMapper[] semanticProps = type.getSemanticPropertyList();

      for (int i = 0; i < semanticProps.length; i++) {
         IBeanMapper prop = semanticProps[i];
         Object thisProp = TypeUtil.getPropertyValue(this, prop);
         if (thisProp instanceof Statement && ((Statement) thisProp).hasErrors())
            return true;
      }
      return false;
   }
/** Returns true if there are errors in this node or any child node of this node */
Returns true if there are errors in this node or any child node of this node
Returns true if there are errors in this node or any child node of this node
public boolean hasErrors() {
      if (errorArgs != null)
         return true;
      DynType type = TypeUtil.getPropertyCache(getClass());
      IBeanMapper[] semanticProps = type.getSemanticPropertyList();
      for (int i = 0; i < semanticProps.length; i++) {
         IBeanMapper prop = semanticProps[i];
         Object thisProp = TypeUtil.getPropertyValue(this, prop);
         if (thisProp instanceof Statement && ((Statement) thisProp).hasErrors())
            return true;
      }
      return false;
   }
public boolean hasErrors ( ) { if ( errorArgs != null ) return true ; DynType type = TypeUtil . getPropertyCache ( getClass ( ) ) ; IBeanMapper [ ] semanticProps = type . getSemanticPropertyList ( ) ; for ( int i = 0 ; i < semanticProps . length ; i ++ ) { IBeanMapper prop = semanticProps [ i ] ; Object thisProp = TypeUtil . getPropertyValue ( this , prop ) ; if ( thisProp instanceof Statement && ( ( Statement ) thisProp ) . hasErrors ( ) ) return true ; } return false ; }
Returns true if there are errors in this node or any child node of this node
Returns true if there are errors in this node or any child node of this node