Package org.pkl.core.ast.member
Class ClassMethod
java.lang.Object
org.pkl.core.ast.member.Member
org.pkl.core.ast.member.ClassMember
org.pkl.core.ast.member.ClassMethod
-
Field Summary
Fields inherited from class org.pkl.core.ast.member.ClassMember
annotations, docCommentFields inherited from class org.pkl.core.ast.member.Member
headerSection, modifiers, name, qualifiedName, sourceSection -
Constructor Summary
ConstructorsConstructorDescriptionClassMethod(com.oracle.truffle.api.source.SourceSection sourceSection, com.oracle.truffle.api.source.SourceSection headerSection, int modifiers, Identifier name, String qualifiedName, @Nullable com.oracle.truffle.api.source.SourceSection docComment, List<VmTyped> annotations, VmTyped owner, List<TypeParameter> typeParameters, @Nullable String deprecation) -
Method Summary
Modifier and TypeMethodDescriptionFor use in user-facing messages.com.oracle.truffle.api.CallTargetcom.oracle.truffle.api.CallTargetgetCallTarget(com.oracle.truffle.api.source.SourceSection callSite) intvoidinitFunctionNode(FunctionNode functionNode) Methods inherited from class org.pkl.core.ast.member.ClassMember
getAnnotations, getDeclaringClass, getDocComment, getOwnerMethods inherited from class org.pkl.core.ast.member.Member
getHeaderSection, getModifiers, getName, getNameOrNull, getQualifiedName, getSourceSection, isAbstract, isClass, isConst, isConstOrFixed, isExternal, isFixed, isGlob, isHidden, isImport, isLocal, isLocalOrExternalOrAbstract, isLocalOrExternalOrHidden, isType, isTypeAlias
-
Constructor Details
-
ClassMethod
public ClassMethod(com.oracle.truffle.api.source.SourceSection sourceSection, com.oracle.truffle.api.source.SourceSection headerSection, int modifiers, Identifier name, String qualifiedName, @Nullable @Nullable com.oracle.truffle.api.source.SourceSection docComment, List<VmTyped> annotations, VmTyped owner, List<TypeParameter> typeParameters, @Nullable @Nullable String deprecation)
-
-
Method Details
-
initFunctionNode
-
getCallTarget
public com.oracle.truffle.api.CallTarget getCallTarget() -
getCallTarget
public com.oracle.truffle.api.CallTarget getCallTarget(com.oracle.truffle.api.source.SourceSection callSite) -
getParameterCount
public int getParameterCount() -
getReturnTypeNode
-
getCallSignature
Description copied from class:MemberFor use in user-facing messages. Non-null iff getName() is non-null.- Specified by:
getCallSignaturein classMember
-
getMirror
-
getModifierMirrors
-
getTypeParameterMirrors
-
getParameterMirrors
-
getReturnTypeMirror
-
export
-