Module esprima

Index

Variables

Modules

Interfaces

Functions

Variables

version: string

Functions

parse(code: string, options?: Options): Program

Parameters

  • code: string
  • options?: Options optional

Returns

Program

tokenize(code: string, options?: Options): Token[]

Parameters

  • code: string
  • options?: Options optional

Returns

Token[]