core / org.pinelang.core / PineProp
PineProp¶
open class PineProp<T> :PineSignal,ReadWriteProperty<PineObject, T>
Constructors¶
| Name | Summary |
|---|---|
| <init> | PineProp(pineObject:PineObject, name:String, expr:PineExpr<Any?>) |
Properties¶
| Name | Summary |
|---|---|
| expr | val expr:PineExpr<Any?> |
| name | val name:String |
Functions¶
| Name | Summary |
|---|---|
| asType | fun <T> asType():PineProp<T> |
| bind | fun <T> bind(other:PineProp<T>):Unit |
| getPineObject | open fun getPineObject():PineObject |
| getScriptName | open fun getScriptName():String |
| getValue | open fun getValue(thisRef:PineObject, property:KProperty<*>): T |
| setValue | open fun setValue(thisRef:PineObject, property:KProperty<*>, value: T):Unit |
| toString | open fun toString():String |
Inheritors¶
| Name | Summary |
|---|---|
| ChildrenListPineProp | open class ChildrenListPineProp :PineProp<MutableList<PineObject>>,Iterable<PineObject> |