Summary¶
- Home
- Specification
- About this guide
- Comments
- Documenting code
- Literals
- Assignment
- Local variables
- Control expressions
- Requiring files
- Types and methods
- Everything is an object
- The Program
- Classes and methods
- Modules
- Generics
- Structs
- Constants
- Enums
- Blocks and Procs
- alias
- Exception handling
- Type grammar
- Type reflection
- Macros
- Annotations
- Low-level primitives
- Compile-time flags
- C bindings
- Unsafe code
- Guides
- Tutorials
- API
- ArgumentError
- Array
- Atomic
- Base64
- Benchmark
- BigDecimal
- BigFloat
- BigInt
- BigRational
- BitArray
- Bool
- Box
- Bytes
- Channel
- Char
- Class
- Colorize
- Comparable
- Complex
- Compress
- Crypto
- Crystal
- MacroInterpreter
- Macros
- And
- Annotation
- Arg
- ArrayLiteral
- Assign
- ASTNode
- BinaryOp
- Block
- BoolLiteral
- Call
- Case
- Cast
- CharLiteral
- ClassDef
- ClassVar
- Def
- Expressions
- Generic
- Global
- HashLiteral
- If
- ImplicitObj
- InstanceSizeOf
- InstanceVar
- IsA
- Macro
- MacroId
- MetaVar
- MultiAssign
- NamedArgument
- NamedTupleLiteral
- NilableCast
- NilLiteral
- Nop
- Not
- NumberLiteral
- OffsetOf
- Or
- Out
- Path
- PointerOf
- ProcLiteral
- ProcNotation
- ProcPointer
- RangeLiteral
- ReadInstanceVar
- RegexLiteral
- Require
- RespondsTo
- SizeOf
- Splat
- StringInterpolation
- StringLiteral
- SymbolLiteral
- TupleLiteral
- TypeDeclaration
- TypeNode
- UnaryExpression
- UninitializedVar
- Union
- Var
- VisibilityModifier
- When
- While
- Program
- CSV
- Deprecated
- Deque
- Digest
- Dir
- DivisionByZeroError
- ECR
- Enum
- Enumerable
- ENV
- Errno
- Exception
- Experimental
- Fiber
- File
- FileUtils
- Flags
- Float
- Float32
- Float64
- GC
- Hash
- HTML
- HTTP
- Indexable
- IndexError
- INI
- Int
- Int128
- Int16
- Int32
- Int64
- Int8
- Intrinsics
- InvalidBigDecimalException
- InvalidByteSequenceError
- IO
- IPSocket
- Iterable
- Iterator
- JSON
- KeyError
- Levenshtein
- Link
- LLVM
- ABI
- AtomicOrdering
- AtomicRMWBinOp
- Attribute
- AttributeIndex
- BasicBlock
- BasicBlockCollection
- Builder
- CallConvention
- CodeGenFileType
- CodeGenOptLevel
- CodeModel
- Context
- DIBuilder
- DIFlags
- DwarfTag
- DwarfTypeEncoding
- Function
- FunctionCollection
- FunctionPassManager
- GenericValue
- GlobalCollection
- InstructionCollection
- IntPredicate
- JITCompiler
- Linkage
- MemoryBuffer
- Metadata
- Module
- ModuleFlag
- ModulePassManager
- OperandBundleDef
- ParameterCollection
- PassManagerBuilder
- PassRegistry
- PhiTable
- RealPredicate
- RelocMode
- Target
- TargetData
- TargetMachine
- Type
- Value
- ValueMethods
- VerifierFailureAction
- Log
- Math
- MIME
- Mutex
- NamedTuple
- Nil
- NilAssertionError
- NotImplementedError
- Number
- OAuth
- OAuth2
- Object
- OpenSSL
- OptionParser
- OverflowError
- Path
- Pointer
- PrettyPrint
- Proc
- Process
- Random
- Range
- Reference
- Regex
- RuntimeError
- SemanticVersion
- Set
- Signal
- Slice
- Socket
- Spec
- StaticArray
- Steppable
- String
- StringPool
- StringScanner
- Struct
- Symbol
- System
- SystemError
- TCPServer
- TCPSocket
- Termios
- Time
- Tuple
- TypeCastError
- UDPSocket
- UInt128
- UInt16
- UInt32
- UInt64
- UInt8
- Unicode
- Union
- UNIXServer
- UNIXSocket
- URI
- UUID
- VaList
- Value
- WeakRef
- WinError
- XML
- YAML
- Compiler
- ASTNode
- Alias
- Annotation
- AnnotationDef
- Arg
- ArrayLiteral
- Asm
- AsmOperand
- Assign
- AssignWithRestriction
- BinaryOp
- Block
- BoolLiteral
- CStructOrUnionDef
- Call
- Case
- Cast
- CharLiteral
- ClassDef
- ClassVar
- ControlExpression
- Def
- EnumDef
- ExceptionHandler
- Expressions
- Extend
- ExternalVar
- FileNode
- FunDef
- Generic
- Global
- HashLiteral
- If
- ImplicitObj
- Include
- InstanceVar
- IsA
- LibDef
- Macro
- MacroExpression
- MacroFor
- MacroId
- MacroIf
- MacroLiteral
- MacroVar
- MagicConstant
- MetaMacroVar
- MetaVar
- Metaclass
- ModuleDef
- MultiAssign
- NamedArgument
- NamedTupleLiteral
- NilLiteral
- NilableCast
- Nop
- NumberLiteral
- OffsetOf
- OpAssign
- Path
- Primitive
- ProcLiteral
- ProcNotation
- ProcPointer
- RangeLiteral
- ReadInstanceVar
- RegexLiteral
- Require
- Rescue
- RespondsTo
- Select
- Self
- StringInterpolation
- StringLiteral
- SymbolLiteral
- TupleLiteral
- TypeDeclaration
- TypeDef
- TypeFilteredNode
- TypeNode
- TypeOf
- UnaryExpression
- Underscore
- UninitializedVar
- Union
- Unless
- Unreachable
- Until
- Var
- VisibilityModifier
- When
- While
- Yield
- YieldBlockBinder
- AbstractDefChecker
- Annotatable
- CacheDir
- CallSignature
- ClassVarContainer
- ClassVarInitializer
- Codegen
- Command
- Compiler
- Config
- ContextResult
- Conversions
- Cover
- CrystalLLVMBuilder
- CrystalLibraryPath
- CrystalPath
- Debug
- DefInstanceContainer
- DefInstanceKey
- DefWithMetadata
- DeprecatedAnnotation
- Doc
- Constant
- Generator
- HeadTemplate
- Highlighter
- Item
- JsNavigatorTemplate
- JsSearchTemplate
- JsTypeTemplate
- JsUsageModal
- JsVersionsTemplate
- ListItemsTemplate
- Macro
- Main
- MainTemplate
- Markdown
- Method
- MethodDetailTemplate
- MethodSummaryTemplate
- MethodsInheritedTemplate
- OtherTypesTemplate
- ProjectInfo
- RelativeLocation
- SidebarTemplate
- SitemapTemplate
- StyleTemplate
- Type
- TypeTemplate
- Error
- ErrorFormat
- ExhaustivenessChecker
- ExpandResult
- ExpandableNode
- ExperimentalAnnotation
- GenericType
- Git
- HashStringType
- HierarchyPrinter
- Hook
- HookExpansionsContainer
- ImplementationResult
- ImplementationTrace
- Init
- InstanceVarContainer
- InstanceVarInitializerContainer
- LLVMBuilderHelper
- LLVMId
- LLVMTyper
- Lexer
- LinkAnnotation
- LiteralExpander
- Location
- Match
- MatchContext
- Matches
- MathInterpreter
- MetaVars
- MultiType
- NamedArgumentType
- NilReason
- Playground
- PrettyTypeNameJsonConverter
- ProgressTracker
- RecursiveStructChecker
- SkipMacroException
- SpecialVar
- SubclassObservable
- TablePrint
- Token
- Transformer
- Type
- DefInMacroLookup
- GenericClassInstanceMetaclassType
- GenericInstanceType
- GenericModuleInstanceMetaclassType
- LiteralType
- NamedType
- TypeParameter
- TypeSplat
- UnionType
- VirtualMetaclassType
- VirtualType
- TypeDeclarationProcessor
- TypeFilter
- TypeFilters
- TypeVar
- TypedDefProcessor
- VirtualFile
- VirtualTypeLookup
- Visibility
- Visitor
- Warnings
- ASTNode