Package st.gravel.support.compiler.ast

Examples of st.gravel.support.compiler.ast.MethodMapping.methodNode()


    MethodMapping methodMapping = ImageBootstrapper.systemMapping
        .methodMappingForNil_(selector);
    if (methodMapping == null) {
      return createDNUHandleForNil();
    }
    MethodNode methodNode = methodMapping.methodNode();
    return inlineBlocks(methodNode, ImageBootstrapper.systemMapping
        .nilClassMapping().reference(), JVMDefinedObjectType.factory.object());
  }

  @Override
View Full Code Here


    MethodMapping methodMapping = ImageBootstrapper.systemMapping
        .methodMappingFor_methodName_(receiverClass, selector);
    if (methodMapping == null) {
      return createDNUHandle(receiverClass).asType(type);
    }
    MethodNode methodNode = methodMapping
        .methodNode();
    return inlineBlocks(methodNode, ImageBootstrapper.systemMapping
        .classMappingForJavaClass_(receiverClass).reference(), (JVMNonPrimitiveType) ImageBootstrapper.systemMapping.compilerTools().jvmTypeForClass_(receiverClass));
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.