@khgame/schema
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

@Khgame/schema

Build Status Github Releases Github Releases Github Releases

design

definition

names

  • Mark: what filled in a mark line slot
  • SDM: Structure Description Mark
  • TDM: Type Description Mark
  • ArrSDM: SDM that presented an array [...]
  • ObjSDM: SDM that presented an object {...}
  • MD: Mark Decorator
  • TSeg: Types segment
  • TName: Type name
Schema: Mark+
Mark: SDM | TDM
SDM: ArrSDM | ObjSDM
ArrSDM: <MD* '['> Schema ']'
ObjSDM: <MD* '{'> Schema '}'
TDM: <MD* TSeg>
TSeg: TNode ('|' TNode)*
TNode: TName '<' TSeg '>' 
MD: /\$[a-zA-Z0-9_\-]+/
TName: /[a-zA-Z_][a-zA-Z0-9_]*/

decorators

ArrSDM

  • $strict
  • $ghost

ObjSDM

  • $ghost

TDM

(none)

Package Sidebar

Install

npm i @khgame/schema

Weekly Downloads

0

Version

0.0.10

License

MIT

Unpacked Size

71.7 kB

Total Files

45

Last publish

Collaborators

  • kinghand