@3-/apint

0.1.27 • Public • Published

@3-/apint

test/main.coffee :

#!/usr/bin/env coffee

> @3-/apint > gen_nt
  @3-/read
  path > join

ROOT = import.meta.dirname

rs = read join ROOT,'test.rs'

nt = gen_nt(rs,'')
console.log nt

output :

  month : i32

Bill(Uid(uid):Uid) -> Bill
  setup_indent : Option<String>

CardLi(Uid(uid):Uid,setup_indent:Option<::jarg::Json<(String)>>) -> CardLi

Cash(client:Client) -> ()

Setup(Uid(uid):Uid) -> ()

(Uid(uid):Uid) -> BillIndex
[
  {
    Bill: 'month:i32→Bill',
    CardLi: 'setup_indent:String→CardLi',
    Cash: '→()',
    Setup: '→()',
    '': '→BillIndex'
  },
  Set(5) {
    'bill as Bill',
    'card_li as CardLi',
    'cash as Cash',
    'setup as Setup',
    'self as '
  },
  {},
  { Bill: 0, CardLi: 0, Cash: 0, Setup: 0, '': 0 }
]

About This Project

This project is an open-source component of i18n.site ⋅ Internationalization Solution.

关于本项目

本项目为 i18n.site ⋅ 国际化解决方案 的开源组件。

Readme

Keywords

none

Package Sidebar

Install

npm i @3-/apint

Weekly Downloads

24

Version

0.1.27

License

Apache-2.0

Unpacked Size

11.7 kB

Total Files

4

Last publish

Collaborators

  • i18n-now