Package dtool.engine.common

Examples of dtool.engine.common.IValueNode


 
  @Override
  public Collection<INamedElement> findTargetDefElements(IModuleResolver mr, boolean findFirstOnly) {
    IInitializer initializer = getParent_().getDeclaredInitializer();
    if(initializer instanceof IValueNode) {
      IValueNode valueNode = (IValueNode) initializer;
      return valueNode.resolveTypeOfUnderlyingValue(mr);
    }
    return null;
  }
View Full Code Here


    if(declaredType != null) {
      return getFirstElementOrNull(declaredType.findTargetDefElements(mr, true));
    }
    IInitializer initializer = varDef.getDeclaredInitializer();
    if(initializer instanceof IValueNode) {
      IValueNode initializerR = (IValueNode) initializer;
      return getFirstElementOrNull(initializerR.resolveTypeOfUnderlyingValue(mr));
    }
   
    return null; // TODO: create error element
  }
View Full Code Here

TOP

Related Classes of dtool.engine.common.IValueNode

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.