joeduffy
|
7879032e88
|
Pretty-print attributes in lumi pack info command
This change pretty-prints attribute metadata in `lumi pack info`.
For example:
package "basic/decorators" {
dependencies []
module "index" {
exports []
method ".main": ()
class "TestDecorators" [@basic/decorators:index:classDecorate] {
property "a" [public, @basic/decorators:index:propertyDecorate]: string
method "m1" [public, @basic/decorators:index:methodDecorate]: (): string
}
}
}
It also includes support for printing property getters/setters:
property "p1" [public]: string {
method "get" [public, @basic/decorators:index:methodDecorate]: (): string
method "set" [public]: (v: string)
}
|
2017-06-01 08:32:12 -07:00 |
|