Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
monkey
master
Monkey
AST
ArrayLiteral
BlockStatement
Boolean
CallExpression
Expression
ExpressionStatement
FunctionLiteral
HashLiteral
Identifier
IfExpression
IndexExpression
InfixExpression
IntegerLiteral
LetStatement
Node
PrefixExpression
Program
ReturnStatement
Statement
StringLiteral
Evaluator
Lexer
Lexer
Object
Array
Boolean
Builtin
BuiltinFunction
Environment
Error
Function
Hash
Hashable
HashKey
HashPair
Integer
Null
Object
ObjectType
ReturnValue
String
Parser
Parser
Priority
REPL
Token
Token
TokenType
Built with Crystal 1.9.2
2023-10-07 17:29:55 UTC
struct
Monkey::Object::HashPair
Monkey::Object::HashPair
Struct
Value
Object
Defined in:
monkey/object/object.cr
Constructors
.new
(key : Object, value : Object)
Instance Method Summary
#clone
#copy_with
(key _key = @key, value _value = @value)
#key
: Object
#value
: Object
Constructor Detail
def self.
new
(key :
Object
, value :
Object
)
#
[
View source
]
Instance Method Detail
def
clone
#
[
View source
]
def
copy_with
(key _key = @key, value _value = @value)
#
[
View source
]
def
key
:
Object
#
def
value
:
Object
#