Package org.eclipse.php.internal.debug.core.zend.debugger

Examples of org.eclipse.php.internal.debug.core.zend.debugger.ExpressionValue


          return ((PHPThread) element).getStackVariables();
        } else if (element instanceof PHPStackFrame) {
          return ((PHPStackFrame) element).getStackVariables();
        } else if (element instanceof Expression) {
          Expression eExp = (Expression) element;
          ExpressionValue value = eExp.getValue();
          Expression[] eChildren = value.getChildren();
          if (eChildren == null)
            return new Expression[0];
          if (eChildren.length == 0) {
            ExpressionsManager expressionManager = fTarget
                .getExpressionManager();
            expressionManager.update(eExp, 1);
            value = eExp.getValue();
            eChildren = value.getChildren();
            if (eChildren == null)
              eChildren = new Expression[0];
          }
          return eChildren;
        }
View Full Code Here


    public boolean hasChildren(Object element) {
      if (element instanceof IDebugElement) {
        return getChildren(element).length > 0;
      } else if (element instanceof Expression) {
        Expression eExp = (Expression) element;
        ExpressionValue value = eExp.getValue();
        Expression[] eChildren = value.getChildren();
        if (eChildren == null)
          return false;
        return true;
      }
      return false;
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.debug.core.zend.debugger.ExpressionValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.