Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
monyet
main
Top Level Namespace
Ast
ArrayLiteral
BlockStatement
BooleanLiteral
CallExpression
Expression
ExpressionStatement
FunctionLiteral
HashLiteral
Identifier
IfExpression
IndexExpression
InfixExpression
IntegerLiteral
LetStatement
LiteralExpression
Node
PrefixExpression
Program
ReturnStatement
Statement
StringLiteral
TokenHolder
Benchmarks
Bool
Char
Code
Definition
Instructions
MBytes
OffsetArray
Opcode
Compilers
Bytecode
CompilationScope
EmittedInstruction
MCompiler
MCompilerException
Evaluator
Environment
HashKey
HashPair
Lexers
Lexer
MArray
MBoolean
MBuiltinFunction
MError
MFunction
MHash
MInteger
MObject
Monyet
MReturnValue
MString
MValue
Nil
Object
Objects
BuiltinFunction
HashKey
HashPair
HashType
MArray
MBoolean
MBuiltinFunction
MClosure
MCompiledFunction
MError
MFunction
MHash
MInteger
MNull
MObject
MReturnValue
MString
MValue
Parsers
InfixParser
Parser
Precedence
PrefixParser
String
Symbols
Symbol
SymbolException
SymbolScope
SymbolTable
Tokens
Token
TokenType
Utils
Vm
Frame
VM
VMException
Generated using Crystal 1.14.0
2024-11-26 08:50:28 UTC
struct
Symbols::
Symbol
Symbols::Symbol
Struct
Value
Object
Defined in:
symbols.cr
Constructors
.new
(name : String, scope : SymbolScope, index : Int32)
Instance Method Summary
#index
: Int32
#name
: String
#scope
: Symbols::SymbolScope
Instance methods inherited from class
Object
also(& :
self
| Nil -> _) :
self
also
,
or_else(alternative)
or_else
Constructor Detail
def self.
new
(name :
String
, scope :
SymbolScope
, index : Int32)
#
[
View source
]
Instance Method Detail
def
index
: Int32
#
[
View source
]
def
name
:
String
#
[
View source
]
def
scope
:
Symbols::SymbolScope
#
[
View source
]