Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeclarationHandler

Hierarchy

  • DeclarationHandler

Index

Constructors

constructor

Properties

node

node: babel.types.Node

state

state: {}

Type declaration

  • [name: string]: string | Array<string>

Methods

Private _set

  • _set(key: string, value: string, force?: boolean): this

after

  • after(values: string | Array<string>): this

delete

  • delete(key: string): this

ensure

  • ensure(key: string, value?: string): this

get

id

  • id(name: string): this

is

  • is(type: string): boolean

name

  • name(): string

object

  • object(): this

properties

  • properties(): (ObjectMethod | ObjectProperty | SpreadElement)[]

resetState

  • resetState(): void

set

  • set(key: string, value: string): this

Generated using TypeDoc