Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

generate consistent module + package structure #10

@nadako

Description

@nadako

ts2hx should generate a consistent and useful package/module structure similar to what's implemented in hxnodejs (and discussed in HaxeFoundation/hxnodejs#16 before).

basically that means the following:

  • a module becomes static class with capitalized name (and underscore changed to CamelCase)
  • types defined in the module go into a subpackage named after the original module

for example, node's "fs" module become Fs.hx, and "fs.Stats" goes to fs/Stats.hx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions