MemberExpression
Extends:
Node → Expression → MemberExpression
If computed === true, object[property]
.
Else, object.property
-- meaning property should be an Identifier.
Constructor Summary
Public Constructor | ||
public |
constructor(object: *, property: *) |
Member Summary
Public Members | ||
public get |
computed: * Needed for compatibility with estree.
|
|
public |
|
|
public |
|
Inherited Summary
From class Node | ||
public get |
type: * For compatibility with other AST representations,
all Node instances have a 'type' property that is the name of that type.
|
|
public |
toJSON(): * Convert to JSON.
|
|
public |
toString(): * |
Public Constructors
public constructor(object: *, property: *) source
Params:
Name | Type | Attribute | Description |
object | * | ||
property | * |