Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jgranick opened this issue Mar 20, 2019 · 0 comments
Open

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

jgranick opened this issue Mar 20, 2019 · 0 comments

Comments

@jgranick
Copy link
Contributor

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants