Haxe
  • Home
  • Download
  • Blog
  • Use Cases
    • Overview
    • Games
    • Web
    • Mobile
    • Desktop
    • Command Line
    • Cross Platform APIs
    • Who Uses Haxe
  • Haxe Foundation
    • About The Foundation
    • Who is who
    • Jobs
    • Supported Projects
    • Support Plans
    • Donate
    • Branding
    • Shop
    • Open Source
    • Contact
  • Support Plans
  • Learn Haxe
    • Introduction
    • Manual
    • Code Cookbook
    • API Documentation
    • Videos
    • Try Haxe online
    • Haxelib
  • Connect
    • GitHub
    • Bug reports
    • Stack Overflow
    • Forums
    • Discord
    • Gitter
    • Blog
    • Facebook
    • #haxe
    • @haxelang
    • @haxe_org
    • Contact
Pointer TypesViews
  • Introduction
    • What is Haxe?
    • About this Document
      • Authors and contributions
      • License
    • Hello World
    • History
  • Types
    • Basic Types
      • Numeric types
      • Overflow
      • Bool
      • Void
      • Nullability
      • Optional Arguments and Nullability
    • Class Instance
      • Class constructor
      • Inheritance
      • Interfaces
      • Abstract Class
    • Enum Instance
      • Enum Constructor
      • Using enums
    • Anonymous Structure
      • JSON for Structure Values
      • Class Notation for Structure Types
      • Optional Fields
      • Impact on Performance
      • Extensions
    • Function Type
      • Optional Arguments
      • Default values
    • Dynamic
      • Dynamic with Type Parameter
      • Dynamic access
      • Any type
    • Abstract
      • Access to Underlying Data
      • Implicit Casts
      • Operator Overloading
      • Array Access
      • Enum abstracts
      • Forwarding abstract fields
      • Core-type abstracts
    • Monomorph
  • Type System
    • Typedef
    • Type Parameters
      • Constraints
      • Defaults
    • Generic
      • Construction of generic type parameters
    • Variance
    • Unification
      • Between Class/Interface
      • Structural Subtyping
      • Monomorphs
      • Function Return
      • Common Base Type
    • Type Inference
      • Top-down Inference
      • Limitations
    • Modules and Paths
      • Module Sub-Types
      • Import
      • Import defaults / import.hx
      • Resolution Order
    • untyped
  • Class Fields
    • Variable
    • Property
      • Common accessor identifier combinations
      • Impact on the type system
      • Rules for getter and setter
    • Method
      • Overriding Methods
      • Effects of variance and access modifiers
    • Access Modifier
      • Visibility
      • Inline
      • Dynamic
      • Override
      • Static
      • Extern
      • Final
  • Expressions
    • Blocks
    • Literals
      • Array Declaration
      • Map Declaration
      • Object Declaration
    • Constants
    • Operators
      • Unary Operators
      • Binary Operators
      • Ternary Operator
      • Precedence
      • Overloading and macros
    • Field Access
    • Null coalescing
    • Array Access
    • Function Call
    • var and final
    • Local static variables
    • Local Functions
    • new
    • for
    • while
    • do-while
    • if
    • switch
    • throw
    • try/catch
    • return
    • break
    • continue
    • cast
      • unsafe cast
      • safe cast
    • type check
    • inline
  • Language Features
    • Conditional Compilation
      • Target defines
      • Target-Specific Files
      • Custom defines documentation
    • Externs
      • Native Metadata
      • Implementing Dynamic
    • Static Extension
      • In the Haxe Standard Library
      • Static Extension Metadata
    • Pattern Matching
      • Introduction
      • Enum matching
      • Variable capture
      • Structure matching
      • Array matching
      • Or patterns
      • Guards