Preparing search index...
The search index is not available
Langium - v3.3.0
Langium
langium
ParserWorker
Class ParserWorker
Hierarchy (
view full
)
ParserWorker
WorkerThreadParserWorker
Index
Constructors
constructor
Properties
_parsing
_ready
_terminate
deferred
on
Ready
Emitter
send
Message
Accessors
on
Ready
ready
Methods
lock
parse
terminate
unlock
Constructors
constructor
new
Parser
Worker
(
sendMessage
,
onMessage
,
onError
,
terminate
)
:
ParserWorker
Parameters
sendMessage
:
WorkerMessagePost
onMessage
:
WorkerMessageCallback
onError
:
WorkerMessageCallback
terminate
:
(
(
)
=>
void
)
(
)
:
void
Returns
void
Returns
ParserWorker
Properties
Protected
_parsing
_parsing
:
boolean
= false
Protected
_ready
_ready
:
boolean
= true
Protected
Readonly
_terminate
_terminate
:
(
(
)
=>
void
)
Protected
deferred
deferred
:
Deferred
<
ParseResult
>
= ...
Protected
Readonly
on
Ready
Emitter
on
Ready
Emitter
:
Emitter
<
void
>
= ...
Protected
Readonly
send
Message
send
Message
:
WorkerMessagePost
Accessors
on
Ready
get
onReady
(
)
:
Event
<
void
>
Returns
Event
<
void
>
ready
get
ready
(
)
:
boolean
Returns
boolean
Methods
lock
lock
(
)
:
void
Returns
void
parse
parse
(
text
)
:
Promise
<
ParseResult
>
Parameters
text
:
string
Returns
Promise
<
ParseResult
>
terminate
terminate
(
)
:
void
Returns
void
unlock
unlock
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_parsing
_ready
_terminate
deferred
on
Ready
Emitter
send
Message
Accessors
on
Ready
ready
Methods
lock
parse
terminate
unlock
Langium - v3.3.0
Loading...