Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed Feb 29, 2020
1 parent 915ca3a commit cef80f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib/token_tree.js
Expand Up @@ -70,12 +70,16 @@ class TokenTree {
Currently this is all private API, but this is the minimal API necessary
that an Emitter must implement to fully support the parser.
API:
Minimal interface:
- addKeyword(text, kind)
- addText(text)
- addSublanguage(emitter, subLangaugeName)
- finalize()
- openNode(kind)
- closeNode()
- closeAllNodes()
- toHTML()
*/
export default class TokenTreeEmitter extends TokenTree {
Expand Down

0 comments on commit cef80f5

Please sign in to comment.