How to use the @textlint/ast-node-types.ASTNodeTypes function in @textlint/ast-node-types

To help you get started, we’ve selected a few @textlint/ast-node-types examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github textlint / textlint / packages / txt-to-ast / lib / plaintext-syntax.js View on Github external
// LICENSE : MIT
"use strict";

var _require = require("@textlint/ast-node-types"),
    ASTNodeTypes = _require.ASTNodeTypes;

var _exports = {
    "Document": ASTNodeTypes.Document, // must
    "Paragraph": ASTNodeTypes.Paragraph,
    // inline
    "Str": ASTNodeTypes.Str, // must
    "Break": ASTNodeTypes.Break // must
};
module.exports = _exports;
//# sourceMappingURL=plaintext-syntax.js.map