Ende.lint.ClassExpression

interface ยท experimental

interface Ende.lint.ClassExpression

Similar to ClassDeclaration but for declaring a class as an expression. The main difference is that the class name(=id) can be omitted.

Properties

type

type: "ClassExpression"

range

range: Range

declare

declare: boolean

abstract

abstract: boolean

id

id: Identifier | null

superClass

superClass: ArrayExpression | ArrayPattern | ArrowFunctionExpression | CallExpression | ClassExpression | FunctionExpression | Identifier | JSXElement | JSXFragment | Literal | TemplateLiteral | MemberExpression | MetaProperty | ObjectExpression | ObjectPattern | SequenceExpression | Super | TaggedTemplateExpression | ThisExpression | TSAsExpression | TSNonNullExpression | TSTypeAssertion | null

superTypeArguments

superTypeArguments: TSTypeParameterInstantiation | undefined

typeParameters

typeParameters: TSTypeParameterDeclaration | undefined

implements

implements: TSClassImplements[]

body

body: ClassBody

parent

parent: Node