Package org.pkl.core.ast.member
Class ClassMember
java.lang.Object
org.pkl.core.ast.member.Member
org.pkl.core.ast.member.ClassMember
- Direct Known Subclasses:
ClassMethod,ClassProperty
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final @Nullable com.oracle.truffle.api.source.SourceSectionFields inherited from class org.pkl.core.ast.member.Member
headerSection, modifiers, name, qualifiedName, sourceSection -
Constructor Summary
ConstructorsConstructorDescriptionClassMember(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) -
Method Summary
Methods inherited from class org.pkl.core.ast.member.Member
getCallSignature, getHeaderSection, getModifiers, getName, getNameOrNull, getQualifiedName, getSourceSection, isAbstract, isClass, isConst, isConstOrFixed, isExternal, isFixed, isGlob, isHidden, isImport, isLocal, isLocalOrExternalOrAbstract, isLocalOrExternalOrHidden, isType, isTypeAlias
-
Field Details
-
docComment
-
annotations
-
-
Constructor Details
-
ClassMember
public ClassMember(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)
-
-
Method Details
-
getDocComment
-
getAnnotations
-
getOwner
Returns the prototype of the class that declares this member. -
getDeclaringClass
-