CreationShakeField

open class CreationShakeField(val project: CreationShakeProject, val pkg: CreationShakePackage?, val clazz: CreationShakeClass?, val parentScope: CreationShakeScope, val name: String, val isStatic: Boolean, val isFinal: Boolean, val isAbstract: Boolean, val isPrivate: Boolean, val isProtected: Boolean, val isPublic: Boolean, val isNative: Boolean, val initialValue: CreationShakeValue?, val type: CreationShakeType, val expanding: CreationShakeType?) : CreationShakeDeclaration, CreationShakeAssignable, ShakeField(source)

Constructors

Link copied to clipboard
constructor(project: CreationShakeProject, pkg: CreationShakePackage?, clazz: CreationShakeClass?, parentScope: CreationShakeScope, name: String, isStatic: Boolean, isFinal: Boolean, isAbstract: Boolean, isPrivate: Boolean, isProtected: Boolean, isPublic: Boolean, isNative: Boolean, initialValue: CreationShakeValue?, type: CreationShakeType, expanding: CreationShakeType?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val actualType: CreationShakeType

The actual type of the assignable entity.

Link copied to clipboard
open override val actualValue: CreationShakeValue?

The actual value of the assignable entity.

Link copied to clipboard
open override val clazz: CreationShakeClass?

The class this field is in. This is null if the field is not within a class

Link copied to clipboard
open override val expanding: CreationShakeType?

The type this field expands

Link copied to clipboard
open override val initialValue: CreationShakeValue?

The initial value of this field

Link copied to clipboard
open override val isAbstract: Boolean

Is this field abstract?

Link copied to clipboard
open override val isFinal: Boolean

Is this field final?

Link copied to clipboard
open override val isNative: Boolean

Is this field native?

Link copied to clipboard
open override val isPrivate: Boolean

Is this field private?

Link copied to clipboard
open override val isProtected: Boolean

Is this field protected?

Link copied to clipboard
open override val isPublic: Boolean

Is this field public?

Link copied to clipboard
open override val isStatic: Boolean

Is this field static?

Link copied to clipboard
open override val name: String

The name of the declaration.

Link copied to clipboard
open override val parentScope: CreationShakeScope

The parent scope for initializing this field (the scope of the class or package)

Link copied to clipboard
open override val pkg: CreationShakePackage?

The package this field is in. Also holds the package if this field is in a class

Link copied to clipboard
open override val project: CreationShakeProject

The project this field is in. This also keeps the project if this field is inside a package or class

Link copied to clipboard
open override val qualifiedName: String

The fully qualified name of the declaration, including its scope and namespace.

Link copied to clipboard
open val signature: String

The signature of this field

Link copied to clipboard
open override val type: CreationShakeType

The declared type of the assignable entity.

Link copied to clipboard
abstract val uniqueName: String

A unique name for the declaration, used internally for identification.

Functions

Link copied to clipboard
open override fun access(scope: CreationShakeScope): CreationShakeValue
Link copied to clipboard
open override fun additionAssignType(other: ShakeType, scope: ShakeScope): ShakeType

Performs addition assignment on this entity's type.

Link copied to clipboard
open override fun assignType(other: ShakeType, scope: ShakeScope): ShakeType

Assigns a type to this entity.

Link copied to clipboard
Link copied to clipboard
open override fun decrementAfterType(scope: ShakeScope): ShakeType?

Handles the type after decrement operation.

Link copied to clipboard
open override fun decrementBeforeType(scope: ShakeScope): ShakeType?

Handles the type before decrement operation.

Link copied to clipboard
open override fun divisionAssignType(other: ShakeType, scope: ShakeScope): ShakeType

Performs division assignment on this entity's type.

Link copied to clipboard
open override fun incrementAfterType(scope: ShakeScope): ShakeType

Handles the type after increment operation.

Link copied to clipboard
open override fun incrementBeforeType(scope: ShakeScope): ShakeType

Handles the type before increment operation.

Link copied to clipboard
open override fun modulusAssignType(other: ShakeType, scope: ShakeScope): ShakeType

Performs modulus assignment on this entity's type.

Link copied to clipboard
open override fun multiplicationAssignType(other: ShakeType, scope: ShakeScope): ShakeType

Performs multiplication assignment on this entity's type.

Link copied to clipboard
open override fun phase3()

Processor phase 3 action

Link copied to clipboard
open override fun phase4()

Processor phase 4 action

Link copied to clipboard
open override fun powerAssignType(other: ShakeType, scope: ShakeScope): ShakeType

Performs power assignment on this entity's type.

Link copied to clipboard
open override fun subtractionAssignType(other: ShakeType, scope: ShakeScope): ShakeType

Performs subtraction assignment on this entity's type.

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

Converts the declaration to a JSON representation. Useful for serialization or debugging purposes.

Link copied to clipboard
open override fun use(scope: CreationShakeScope): CreationShakeUsage