interface Property {
    computed: boolean;
    key: Expression | PrivateIdentifier;
    kind: "init" | "get" | "set";
    leadingComments?: Comment[];
    loc?: null | SourceLocation;
    method: boolean;
    range?: [number, number];
    shorthand: boolean;
    trailingComments?: Comment[];
    type: "Property";
    value:
        | ClassExpression
        | Identifier
        | SimpleLiteral
        | RegExpLiteral
        | BigIntLiteral
        | ArrayExpression
        | ArrowFunctionExpression
        | AssignmentExpression
        | AwaitExpression
        | BinaryExpression
        | SimpleCallExpression
        | NewExpression
        | ChainExpression
        | ConditionalExpression
        | FunctionExpression
        | ImportExpression
        | LogicalExpression
        | MemberExpression
        | MetaProperty
        | ObjectExpression
        | SequenceExpression
        | TaggedTemplateExpression
        | TemplateLiteral
        | ThisExpression
        | UnaryExpression
        | UpdateExpression
        | YieldExpression
        | ObjectPattern
        | ArrayPattern
        | RestElement
        | AssignmentPattern;
}

Hierarchy (View Summary)

Properties

computed: boolean
kind: "init" | "get" | "set"
leadingComments?: Comment[]
loc?: null | SourceLocation
method: boolean
range?: [number, number]
shorthand: boolean
trailingComments?: Comment[]
type: "Property"