ShakeCode

interface ShakeCode(source)

Represents a block of code in the Shake language. This includes a sequence of statements that are executed in the Shake programming environment.

Since

0.1.0

Inheritors

Properties

Link copied to clipboard

A list of statements that make up this block of code.

Functions

Link copied to clipboard
abstract fun toJson(): Map<String, Any>

Converts this block of code to a JSON representation. This can be useful for serialization, debugging, or for interfacing with other components that consume JSON.