Options
Menu

Class ParserEvent

Hierarchy

Index

Constructors

constructor

  • new ParserEvent(type: string, message?: string): ParserEvent

Properties

target

target: any

Reference to target object

property

target

type

Object

type

type: string

Type of event

property

type

type

String

Static PARSE_COMPLETE

PARSE_COMPLETE: string

Dispatched when parsing of an asset completed.

Static PARSE_ERROR

PARSE_ERROR: string

Dispatched when an error occurs while parsing the data (e.g. because it's incorrectly formatted.)

Static READY_FOR_DEPENDENCIES

READY_FOR_DEPENDENCIES: string

Dispatched when a parser is ready to have dependencies retrieved and resolved. This is an internal event that should rarely (if ever) be listened for by external classes.

Accessors

message

  • get (): string
  • Additional human-readable message. Usually supplied for ParserEvent.PARSE_ERROR events.

    Returns string

Methods

clone

Generated using TypeDoc