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
    • Events
    • Support Plans
    • Supported Projects
    • Donate
    • Branding
    • Open Source
    • Contact
  • Learn Haxe
    • Introduction
    • Manual
    • API Documentation
    • Try Haxe
    • Haxelib
    • Code Cookbook
  • Connect
    • Github
    • Bug reports
    • Stack Overflow
    • Google Groups
    • IRC
    • Blog
    • Google+
    • Facebook
    • #haxe
    • @haxelang
    • @haxe_org
    • Contact
Global Compiler Flags Built-in Compiler Metadata
  • Introduction
    • What is Haxe?
    • About this Document
      • Authors and contributions
      • License
    • Hello World
    • History
  • Types
    • Basic Types
      • Numeric types
      • Overflow
      • Numeric Operators
      • Bool
      • Void
    • Nullability
      • Optional Arguments and Nullability
    • Class Instance
      • Class constructor
      • Inheritance
      • Interfaces
    • Enum Instance
      • Enum Constructor
      • Using enums
    • Anonymous Structure
      • JSON for Structure Values
      • Class Notation for Structure Types
      • Impact on Performance
    • Function Type
      • Optional Arguments
      • Default values
    • Dynamic
      • Dynamic with Type Parameter
      • Implementing Dynamic
    • Abstract
      • Implicit Casts
      • Operator Overloading
      • Array Access
      • Selective Functions
      • Enum abstracts
      • Forwarding abstract fields
      • Core-type abstracts
    • Monomorph
  • Type System
    • Typedef
      • Extensions
    • Type Parameters
      • Constraints
    • 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
      • Resolution Order
  • 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
  • Expressions
    • Blocks
    • Constants
    • Array Declaration
    • Object Declaration
    • Field Access
    • Array Access
    • Function Call
    • var
    • Local functions
    • new
    • for
    • while
    • do-while
    • if
    • switch
    • try/catch
    • return
    • break
    • continue
    • throw
    • cast
      • unsafe cast
      • safe cast
    • type check
  • Language Features
    • Conditional Compilation
    • Externs
    • Static Extension
      • In the Haxe Standard Library
    • Pattern Matching
      • Introduction
      • Enum matching
      • Variable capture
      • Structure matching
      • Array matching
      • Or patterns
      • Guards
      • Match on multiple values
      • Extractors
      • Exhaustiveness checks
      • Useless pattern checks
    • String Interpolation
    • Array Comprehension
    • Iterators
    • Function Bindings
    • Metadata
    • Access Control
    • Inline constructors
  • Compiler Usage
    • Global Compiler Flags
  • Compiler Features
    • Built-in Compiler Metadata
    • Dead Code Elimination
    • Compiler Services
      • Overview
      • Field access completion
      • Call argument completion
      • Type path completion
      • Usage completion
      • Position completion
      • Top-level completion
      • Completion server
    • Resources
    • Runtime Type Information
      • RTTI structure
    • Static analyzer
  • Macros
    • Macro Context
    • Arguments
      • ExprOf
      • Constant Expressions
      • Rest Argument
    • Reification
      • Expression Reification
      • Type Reification
      • Class Reification
    • Tools
    • Type Building
      • Enum building
      • @:autoBuild
      • @:genericBuild
    • Limitations
      • Static extension
      • Build Order
    • Initialization macros
  • Standard Library
    • String
    • Data Structures
      • Array
      • Vector
      • List
      • GenericStack
      • Map
      • Option
    • Regular Expressions
      • Matching
      • Groups
      • Replace
      • Split
      • Map
      • Implementation Details
    • Math
      • Special Numbers
      • Mathematical Errors
      • Integer Math
      • Extensions
    • Lambda
    • Template
    • Reflection
    • Serialization
      • Serialization format
    • Xml
      • Getting started with Xml
      • Parsing Xml
      • Encoding Xml
    • Json
      • Parsing JSON
      • Encoding JSON
      • Implementation details
    • Remoting
      • Remoting Connection
      • Implementation details
    • Unit testing
  • Haxelib
    • Using a Haxe library with the Haxe Compiler
    • haxelib.json
      • Versioning
      • Dependencies
    • extraParams.hxml
    • Using Haxelib
  • Target Details
    • JavaScript
      • Getting started with Haxe/JavaScript
      • Using external JavaScript libraries
      • Inject raw JavaScript
      • JavaScript untyped functions
      • Debugging JavaScript
      • JavaScript target Metadata
      • Exposing Haxe classes for JavaScript
      • Loading extern classes using "require" function
    • Flash
      • Getting started with Haxe/Flash
      • Embedding resources
      • Using external Flash libraries
      • Flash target Metadata
    • PHP
      • Getting started with Haxe/PHP
      • PHP untyped functions
    • C++
      • Using C++ Defines

8 Compiler Features

8.1: Built-in Compiler Metadata

8.2: Dead Code Elimination

8.3: Compiler Services

8.4: Resources

8.5: Runtime Type Information

8.6: Static analyzer


Global Compiler Flags Contribute to this page Built-in Compiler Metadata
  • 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
    • Events
    • Support Plans
    • Supported Projects
    • Donate
    • Branding
    • Open Source
    • Contact
  • Learn Haxe
    • Introduction
    • Manual
    • API Documentation
    • Try Haxe
    • Haxelib
    • Code Cookbook

© 2016 Haxe Foundation | Contribute to this page | Login