@turbowarp/types-tw
Preparing search index...
scratch-vm
VM
Thread
Interface Thread
interface
Thread
{
blockContainer
:
VM
.
Blocks
;
blockGlowInFrame
:
string
|
null
;
compatibilityStackFrame
:
Record
<
string
,
unknown
>
|
null
;
executableHat
:
boolean
;
generator
:
Generator
<
unknown
,
any
,
any
>
|
null
;
isCompiled
:
boolean
;
isKilled
:
boolean
;
justReported
:
unknown
;
procedures
:
Record
<
string
,
unknown
>
|
null
;
requestScriptGlowInFrame
:
boolean
;
stack
:
string
[]
;
stackClick
:
boolean
;
stackFrames
:
StackFrame
[]
;
status
:
ThreadStatus
;
target
:
RenderedTarget
;
timer
:
Timer
|
null
;
topBlock
:
string
;
triedToCompile
:
boolean
;
updateMonitor
:
boolean
;
warpTimer
:
Timer
|
null
;
atStackTop
()
:
boolean
;
getAllparams
()
:
unknown
;
getId
()
:
string
;
getParam
(
name
:
string
)
:
ScratchCompatibleValue
|
null
;
goToNextBlock
()
:
void
;
initParams
()
:
void
;
isRecursiveCall
(
procedureCode
:
string
)
:
boolean
;
peekParentStackFrame
()
:
StackFrame
|
null
;
peekStack
()
:
string
|
null
;
peekStackFrame
()
:
StackFrame
|
null
;
popStack
()
:
string
;
pushParam
(
name
:
string
,
value
:
ScratchCompatibleValue
)
:
void
;
pushReportedValue
(
value
:
ScratchCompatibleValue
)
:
void
;
pushStack
(
blockId
:
string
)
:
void
;
reuseStackForNextBlock
(
blockId
:
string
)
:
void
;
stopThisScript
()
:
void
;
tryCompile
()
:
void
;
}
Index
Properties
block
Container
block
Glow
In
Frame
compatibility
Stack
Frame
executable
Hat
generator
is
Compiled
is
Killed
just
Reported
procedures
request
Script
Glow
In
Frame
stack
stack
Click
stack
Frames
status
target
timer
top
Block
tried
To
Compile
update
Monitor
warp
Timer
Methods
at
Stack
Top
get
Allparams
get
Id
get
Param
go
To
Next
Block
init
Params
is
Recursive
Call
peek
Parent
Stack
Frame
peek
Stack
peek
Stack
Frame
pop
Stack
push
Param
push
Reported
Value
push
Stack
reuse
Stack
For
Next
Block
stop
This
Script
try
Compile
Properties
block
Container
blockContainer
:
VM
.
Blocks
block
Glow
In
Frame
blockGlowInFrame
:
string
|
null
compatibility
Stack
Frame
compatibilityStackFrame
:
Record
<
string
,
unknown
>
|
null
executable
Hat
executableHat
:
boolean
generator
generator
:
Generator
<
unknown
,
any
,
any
>
|
null
is
Compiled
isCompiled
:
boolean
is
Killed
isKilled
:
boolean
just
Reported
justReported
:
unknown
procedures
procedures
:
Record
<
string
,
unknown
>
|
null
request
Script
Glow
In
Frame
requestScriptGlowInFrame
:
boolean
stack
stack
:
string
[]
stack
Click
stackClick
:
boolean
stack
Frames
stackFrames
:
StackFrame
[]
status
status
:
ThreadStatus
target
target
:
RenderedTarget
timer
timer
:
Timer
|
null
top
Block
topBlock
:
string
tried
To
Compile
triedToCompile
:
boolean
update
Monitor
updateMonitor
:
boolean
warp
Timer
warpTimer
:
Timer
|
null
Methods
at
Stack
Top
atStackTop
()
:
boolean
Returns
boolean
get
Allparams
getAllparams
()
:
unknown
Returns
unknown
get
Id
getId
()
:
string
Returns
string
get
Param
getParam
(
name
:
string
)
:
ScratchCompatibleValue
|
null
Parameters
name
:
string
Returns
ScratchCompatibleValue
|
null
go
To
Next
Block
goToNextBlock
()
:
void
Returns
void
init
Params
initParams
()
:
void
Returns
void
is
Recursive
Call
isRecursiveCall
(
procedureCode
:
string
)
:
boolean
Parameters
procedureCode
:
string
Returns
boolean
peek
Parent
Stack
Frame
peekParentStackFrame
()
:
StackFrame
|
null
Returns
StackFrame
|
null
peek
Stack
peekStack
()
:
string
|
null
Returns
string
|
null
peek
Stack
Frame
peekStackFrame
()
:
StackFrame
|
null
Returns
StackFrame
|
null
pop
Stack
popStack
()
:
string
Returns
string
push
Param
pushParam
(
name
:
string
,
value
:
ScratchCompatibleValue
)
:
void
Parameters
name
:
string
value
:
ScratchCompatibleValue
Returns
void
push
Reported
Value
pushReportedValue
(
value
:
ScratchCompatibleValue
)
:
void
Parameters
value
:
ScratchCompatibleValue
Returns
void
push
Stack
pushStack
(
blockId
:
string
)
:
void
Parameters
blockId
:
string
Returns
void
reuse
Stack
For
Next
Block
reuseStackForNextBlock
(
blockId
:
string
)
:
void
Parameters
blockId
:
string
Returns
void
stop
This
Script
stopThisScript
()
:
void
Returns
void
try
Compile
tryCompile
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
block
Container
block
Glow
In
Frame
compatibility
Stack
Frame
executable
Hat
generator
is
Compiled
is
Killed
just
Reported
procedures
request
Script
Glow
In
Frame
stack
stack
Click
stack
Frames
status
target
timer
top
Block
tried
To
Compile
update
Monitor
warp
Timer
Methods
at
Stack
Top
get
Allparams
get
Id
get
Param
go
To
Next
Block
init
Params
is
Recursive
Call
peek
Parent
Stack
Frame
peek
Stack
peek
Stack
Frame
pop
Stack
push
Param
push
Reported
Value
push
Stack
reuse
Stack
For
Next
Block
stop
This
Script
try
Compile
@turbowarp/types-tw
Loading...