Class ParseOptions

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(languageVersion: LanguageVersion, allowAutomaticSemicolonInsertion: boolean): ParseOptions

Parameters

  • languageVersion: LanguageVersion
  • allowAutomaticSemicolonInsertion: boolean

Returns

ParseOptions

Properties

private _allowAutomaticSemicolonInsertion: any

private _languageVersion: any

Methods

public allowAutomaticSemicolonInsertion(): boolean

Returns

boolean

public languageVersion(): LanguageVersion

Returns

LanguageVersion

public toJSON(key: any): { allowAutomaticSemicolonInsertion: boolean; }

Parameters

  • key: any

Returns

{ allowAutomaticSemicolonInsertion: boolean; }