dox icon indicating copy to clipboard operation
dox copied to clipboard

@:dox(hide) works only if applied to every platform

Open jgranick opened this issue 6 years ago • 0 comments

Currently, using the @:dox(hide) field works only if every platform is compiled with this meta-data.

It would be great if @:dox(hide) or another meta-field allowed support for logically flagging a field as unavailable.

For example, the following would compile as "Available for all platforms":

public static function encode( s : String ) : String {
    throw "Not implemented";
}

The goal is to be able to support something such as:

#if (!cpp && !neko) @:dox(hide) #end
public static function encode( s : String ) : String {
    throw "Not implemented";
}

To get "Available on cpp,neko"

jgranick avatar Mar 20 '19 19:03 jgranick