1 # API Notation Syntax for Vim
3 This is a syntax for api notation, a simple notation I've been using for
4 annotating module APIs in specs and other documents.
6 ## API Notation Reference
8 The most recent reference as of now is in this [gist][api-reference], so
9 check that to be sure. But here's a reproduction of the notation.
15 ~> listened events (socket)
16 +> listened events (class/module)
17 -> listened events (instance)
18 <~ dispatched events (socket)
19 <+ dispatched events(class/module)
20 <- dispatched events (instance)
30 Recommended order: class first, then sockets, then instance. Internally:
31 Properties, events, methods.
34 ## How does it look like?
38 ![Like this.][api-example]
40 [api-reference]: https://gist.github.com/benbeltran/4694c46fcec131468e34
41 [api-example]: http://ns.vc/1gXwQ.png