We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 915ca3a commit cef80f5Copy full SHA for cef80f5
src/lib/token_tree.js
@@ -70,12 +70,16 @@ class TokenTree {
70
Currently this is all private API, but this is the minimal API necessary
71
that an Emitter must implement to fully support the parser.
72
73
- API:
+ Minimal interface:
74
75
- addKeyword(text, kind)
76
- addText(text)
77
- addSublanguage(emitter, subLangaugeName)
78
- finalize()
79
+ - openNode(kind)
80
+ - closeNode()
81
+ - closeAllNodes()
82
+ - toHTML()
83
84
*/
85
export default class TokenTreeEmitter extends TokenTree {
0 commit comments