LexicalNodeVisitParams interface
The params passed to the LexicalExportVisitor.visitLexicalNode() method.
Signature:
export interface LexicalNodeVisitParams<T extends LexicalNode>
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
actions | LexicalVisitActions<T> | A set of actions that can be used to manipulate the mdast tree. These are "convenience" utilities that avoid the repetitive boilerplate of creating mdast nodes. | |
lexicalNode | T | The lexical node that is being visited. | |
mdastParent | Mdast.Parent | The mdast parent node that the result of the lexical node conversion should be appended to. |