Cosmo::AST::Expression::PropertyAssignment
Inherits Cosmo::AST::Expression::Base / Cosmo::AST::Node / Reference / Object
Constructors
new(object : Cosmo::AST::Expression::Base, value : Array(Cosmo::ValueType) | Bool | Char | Cosmo::AST::Expression::Base | Cosmo::Callable | Cosmo::Class | Cosmo::ClassInstance | Cosmo::Spread | Cosmo::Type | Float32 | Float64 | Hash(Cosmo::ValueType, Cosmo::ValueType) | Int128 | Int16 | Int32 | Int64 | Int8 | Range(Int128 | Int16 | Int32 | Int64 | Int8 | UInt16 | UInt32 | UInt64 | UInt8, Int128 | Int16 | Int32 | Int64 | Int8 | UInt16 | UInt32 | UInt64 | UInt8) | String | UInt16 | UInt32 | UInt64 | UInt8 | Nil)
SourceInstance methods
accept(visitor : Visitor(R)) : R forall R
Sourceobject
Sourceto_s(indent : Int = 0)
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.
token
Sourcevalue
Sourcevalue=(value : Base | ValueType)
Source