CreationShakeNew

Constructors

Link copied to clipboard
constructor(project: CreationShakeProject, reference: CreationShakeConstructor, arguments: List<CreationShakeValue>, parent: CreationShakeValue? = null)

Properties

Link copied to clipboard
open override val arguments: List<CreationShakeValue>

The list of arguments to be passed to the constructor.

Link copied to clipboard
open override val name: String

The name of the class or entity being instantiated.

Link copied to clipboard
open override val parent: CreationShakeValue? = null

The parent value, if any, of the new instance being created. This can be used in cases where nested member initialization is involved.

Link copied to clipboard
open override val project: CreationShakeProject

The project to which this value belongs.

Link copied to clipboard

The constructor reference which is to be invoked by this 'new' expression.

Link copied to clipboard
open override val type: CreationShakeType

The type of this value.

Functions

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

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