ShakeVariableUsage

Represents the usage of a variable in the Shake language.

Since

0.1.0

Inheritors

Properties

Link copied to clipboard
abstract override val declaration: ShakeDeclaration

The declaration of the variable being used.

Link copied to clipboard
abstract val name: String

The name of the variable being used.

Link copied to clipboard
abstract val project: ShakeProject

The project to which this value belongs.

Link copied to clipboard
abstract val scope: ShakeScope

The scope in which the usage occurs.

Link copied to clipboard
abstract val type: ShakeType

The type of this value.

Functions

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

Converts this value to a JSON representation. Useful for serialization, debugging, or for interfacing with external systems.