type
Scalar
Scalar is used to represent typed scalar values when there is no native Fantom class we can use to track their type.
constructors
make |
Construct for spec qname and string value |
---|
fields
methods
equals |
Equality is base on qname and val |
---|---|
hash |
Hash is composed of type and val |
toStr |
Return string value |
Slot Details
equals
hash
virtual override Int hash()
Hash is composed of type and val
make
qname
const Str qname
Scalar type qualified name
toStr
virtual override Str toStr()
Return string value
val
const Str val
String value