ComplexType

enum haxe.macro.ComplexTypeimport haxe.macro.ExprAvailable in flash8, flash, neko, js, php, cpp, cs, java TPath(p : TypePath) TParent(t : ComplexType)A parenthesis.
eg. (Int->Bool)->Void can be converted to:
TFunction(
    [
        TParent(
            TFunction(
                [TPath({ sub:null, name:"Int", pack:[], params:[] })], 
                TPath({ sub:null, name:"Bool", pack:[], params:[] })
            )
        )
    ],
    TPath({ sub:null, name:"Void", pack:[], params:[] })
)
TOptional(t : ComplexType)Wraps around an other complex type indicating optional usage. TFunction(args : Array<ComplexType>,ret : ComplexType) TExtend(p : TypePath,fields : Array<Field>)An extension type, in the form {> ClassName, ...fields } TAnonymous(fields : Array<Field>)
version #14703, modified 2012-07-16 12:26:37 by api
0 comment