Cosmo
master
Top Level Namespace
Cosmo
AST
Expression
Access
Base
BinaryOp
BooleanLiteral
CharLiteral
CompoundAssignment
FloatLiteral
FunctionCall
Index
IntLiteral
Literal
NoneLiteral
Parameter
StringLiteral
TableLiteral
TypeAlias
TypeRef
UnaryOp
Var
VarAssignment
VarDeclaration
VectorLiteral
Visitor
Node
Statement
Base
Block
Every
FunctionDef
If
Return
SingleExpression
Unless
Until
Visitor
While
Visibility
Callable
Function
Interpreter
IntrinsicFunction
Keywords
Lexer
Location
Logger
Operator
Div
DivAssign
GT
GTE
LT
LTE
Minus
MinusAssign
Mod
ModAssign
Mul
MulAssign
Plus
PlusAssign
Pow
PowAssign
Parser
PutsIntrinsic
Resolver
Return
Scope
Syntax
Token
Type
TypeChecker
FnType
LiteralType
ValueType
class
Cosmo::Return
Cosmo::Return
Exception
Reference
Object
Defined in:
cosmo/runtime/interpreter.cr
Constructors
.new
(value : ValueType, token : Token)
Instance Method Summary
#value
: ValueType
Constructor Detail
def self.
new
(value :
ValueType
, token :
Token
)
#
[
View source
]
Instance Method Detail
def
value
:
ValueType
#
[
View source
]