Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
myst
v0.3.0
Myst
And
AnonymousFunction
ASTViewer
BaseException
BinaryOp
Block
BooleanLiteral
Break
BreakException
Call
Callable
Callstack
ClosureScope
Const
ContainerType
ControlException
ControlExpr
Def
ExceptionHandler
Expressions
Extend
FloatLiteral
FunctionCapture
Include
Instantiation
IntegerLiteral
InterpolatedStringLiteral
Interpreter
MatchError
Invocation
IVar
Lexer
Context
ListLiteral
Literal
Location
MagicConst
MapLiteral
Entry
MatchAssign
ModuleDef
NativeLib
Negation
Next
NextException
NilLiteral
Node
Nop
Not
OpAssign
Or
Param
ParseError
Parser
StringPiece
Printer
Raise
Reader
Require
Rescue
Return
ReturnException
RuntimeError
Scope
Self
SimpleAssign
Splat
StaticAssignable
StringLiteral
SymbolLiteral
SyntaxError
TBoolean
TFloat
TFunctor
TFunctorDef
TInstance
TInteger
TList
TMap
TModule
TNativeDef
TNil
Token
Type
TPrimitive
TString
TSymbol
TType
TypeDef
UnaryOp
Underscore
Unless
Until
Value
ValueInterpolation
Var
When
While
Generated using Crystal 1.14.0
2024-11-26 19:06:27 UTC
class
Myst::
TFloat
Myst::TFloat
Myst::TPrimitive(Float64)
Myst::Value
Reference
Object
Defined in:
myst/interpreter/value.cr
Constructors
.new
(value : T)
Instance Method Summary
#==
(other : TInteger)
#type_name
Instance methods inherited from class
Myst::TPrimitive(Float64)
==(other :
self
)
==
,
hash(hasher)
hash
,
to_s
to_s
,
value : T
value
,
value=(value : T)
value=
Constructor methods inherited from class
Myst::TPrimitive(Float64)
new(value : T)
new
Instance methods inherited from class
Myst::Value
ivars : Scope
ivars
,
ivars=(ivars : Scope)
ivars=
,
truthy?
truthy?
,
type_name
type_name
Class methods inherited from class
Myst::Value
from_literal(literal : Node)
from_literal
Constructor Detail
def self.
new
(value : T)
#
[
View source
]
Instance Method Detail
def
==
(other :
TInteger
)
#
[
View source
]
def
type_name
#
[
View source
]