Home Reference Source Repository
import {Identifier} from 'esast/src/ast.js'
public class | source

Identifier

Extends:

NodeExpression → Identifier

A JavaScript identifier. It is assumed that you have called mangleIdentifier as appropriate. See also identifier.

Constructor Summary

Public Constructor
public

constructor(name: *)

Member Summary

Public Members
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(name: *) source

Params:

NameTypeAttributeDescription
name *

Public Members

public name: String source