command
module
Version:
v0.0.0-...-f04d09c
Opens a new window with list of versions in this module.
Published: Jun 15, 2015
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
dtsparser
Parsing typescript .d.ts file to generate JSON or Gopherjs package automatically! :)
The parser is created using PEG for Go.
This work is in progress(json output is now ok), I'll finish it soon.
Usage
Usage: ./dtsparser "path/to/target/file"
Json would be output to stdout.
ATTENTION
-
This is not a complete .d.ts
parser, just for easy coverting.
-
Use UTF8 when parsing
-
BOM is not supported
if parsing not pass, try saving the file without UTF8 BOM first
-
Anonymouse function in Object/Interface are not processed
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.