@khgame/schema
v0.0.10
Published
schema
Downloads
71
Readme
@Khgame/schema
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)