package haxe.macro

AbstractType

Access

AnonType

BaseType

Binop

Case

Catch

ClassField

ClassKind

ClassType

Compiler

All these methods can be called for compiler configuration macros.

ComplexType

ComplexTypeTools

This class provides some utility methods to work with AST-level types. It is best used through 'using haxe.macro.ComplexTypeTools' syntax and then provides additional methods on haxe.macro.Expr.ComplexType instances.

Constant

Context

Context provides an API for macro programming.

DefType

EnumField

EnumType

Error

This error can be used to handle or produce compilation errors in macros.

ExampleJSGenerator

Expr

ExprArrayTools

This class provides functions on expression arrays for convenience. For a detailed reference on each method, see the documentation of ExprTools.

ExprDef

ExprOf

ExprTools

This class provides some utility methods to work with expressions. It is best used through 'using haxe.macro.ExprTools' syntax and then provides additional methods on haxe.macro.Expr instances.

Field

FieldAccess

FieldKind

FieldType

Format

The actual macro implemented for Std.format

Function

FunctionArg

JSGenApi

This is the api that is passed to the custom JS generator.

MacroStringTools

This class provides some utility methods to work with strings in macro context.

MacroType

This type is meant to be used to generate custom types using a macro. For instance by doing MacroType<[my.Class.myMacro(55)]>

MetaAccess

MetaAccess is a wrapper for the Metadata array. It can be used to add metadata to and remove metadata from its origin.

Metadata

MetadataEntry

MethodKind

ModuleType

Position

Printer

Ref

TComplexTypeTools

TConstant

TExprTools

This class can be added via 'using haxe.macro.Tools' in order to enable 'using' functionality on all macro tool classes listed below.

TFunc

TMacroStringTools

TTypeTools

TTypedExprTools

TVar

Type

TypeDefKind

TypeDefinition

TypeParam

TypeParamDecl

TypeParameter

TypePath

TypeTools

This class provides some utility methods to work with types. It is best used through 'using haxe.macro.TypeTools' syntax and then provides additional methods on haxe.macro.Type instances.

TypedExpr

TypedExprDef

TypedExprTools

Unop

Var

VarAccess