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 46d10dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/token_tree.js
Expand Up @@ -70,12 +70,15 @@ 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()
*/
export default class TokenTreeEmitter extends TokenTree {
Expand Down

0 comments on commit 46d10dc

Please sign in to comment.