ShakeField

A ShakeField is a field in a ShakeClass or ShakePackage

See also

Inheritors

Properties

Link copied to clipboard
abstract val actualType: ShakeType

The actual type of the assignable entity.

Link copied to clipboard
abstract val actualValue: ShakeValue?

The actual value of the assignable entity.

Link copied to clipboard
abstract val clazz: ShakeClass?

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

Link copied to clipboard
abstract val expanding: ShakeType?

The type this field expands

Link copied to clipboard
abstract val initialValue: ShakeValue?

The initial value of this field

Link copied to clipboard
abstract val isAbstract: Boolean

Is this field abstract?

Link copied to clipboard
abstract val isFinal: Boolean

Is this field final?

Link copied to clipboard
abstract val isNative: Boolean

Is this field native?

Link copied to clipboard
abstract val isPrivate: Boolean

Is this field private?

Link copied to clipboard
abstract val isProtected: Boolean

Is this field protected?

Link copied to clipboard
abstract val isPublic: Boolean

Is this field public?

Link copied to clipboard
abstract val isStatic: Boolean

Is this field static?

Link copied to clipboard
abstract override val name: String

The (simple) name of this field

Link copied to clipboard
abstract val parentScope: ShakeScope

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

Link copied to clipboard
abstract val pkg: ShakePackage?

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

Link copied to clipboard
abstract val project: ShakeProject

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 qualified name of this field

Link copied to clipboard
open val signature: String

The signature of this field

Link copied to clipboard
abstract val type: ShakeType

The declared type of the assignable entity.

Link copied to clipboard
open override val uniqueName: String

The unique name of this field

Functions

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

The type resulting when add-assigning this field

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

The type resulting when assigning this field

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

The type resulting when decrementing this field (decrement after)

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

The type resulting when decrementing this field (decrement before)

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

The type resulting when divide-assigning this field

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

The type resulting when incrementing this field (increment after)

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

The type resulting when incrementing this field (increment before)

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

The type resulting when modulus-assigning this field

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

The type resulting when multiply-assigning this field

Link copied to clipboard
abstract fun phase3()

Processor phase 3 action

Link copied to clipboard
abstract fun phase4()

Processor phase 4 action

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

The type resulting when power-assigning this field

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

The type resulting when subtract-assigning this field

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

Get the json representation of this field