Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
blah
master
Parser
Checkpoint
Node
RiSC16
Assembler
AST
Immediate
Instruction
Node
Parameter
Register
Section
Statement
Text
Unit
Parser
CLI
CustomWindow
Dce
Debugger
Instruction
ISA
Lib
Linker
Object
Section
Options
Reference
Kind
Symbol
Scroll
Spec
Section
Segment
Default
IO
Kind
Ram
Rom
Table
UInt16
VM
Addressable
Default
IO
Ram
Rom
BusError
Window
Stacklang
AST
Access
Binary
Call
Cast
Custom
Expression
Function
Parameter
Identifier
If
Literal
Operator
Pointer
Requirement
Return
Sizeof
Statement
Struct
Field
Table
Type
Unary
Unit
Variable
While
Word
Compiler
Exception
Function
Kind
Memory
Prototype
Parameter
Registers
Variable
InternalError
Parser
Arity
Associativity
Category
Component
Exception
Token
Tokenizer
Token
Type
Any
Pointer
Struct
Field
Table
Word
Unit
Global
UInt16
Generated using Crystal 1.10.1
2024-02-25 07:25:22 UTC
class
Stacklang::
Type::
Table
Stacklang::Type::Table
Stacklang::Type::Any
Reference
Object
Defined in:
stacklang/compiler/types.cr
Constructors
.new
(table_of : Type::Any, quantity : Int32)
Instance Method Summary
#==
(other : Type::Any)
#quantity
: Int32
#size
#table_of
: Stacklang::Type::Any
#to_s
(io)
Instance methods inherited from class
Stacklang::Type::Any
size
size
Class methods inherited from class
Stacklang::Type::Any
solve_constraint(ast : AST::Type, types : Hash(String, Type::Struct), stack : Array(Type::Any) =
[]
of
Type
::
Any
) : Type::Any
solve_constraint
Constructor Detail
def self.
new
(table_of :
Type::Any
, quantity : Int32)
#
[
View source
]
Instance Method Detail
def
==
(other :
Type::Any
)
#
[
View source
]
def
quantity
: Int32
#
[
View source
]
def
size
#
[
View source
]
def
table_of
:
Stacklang::Type::Any
#
[
View source
]
def
to_s
(io)
#
[
View source
]