Snapdragon utility for creating a new AST node in custom code, such as plugins.
-
Updated
Nov 24, 2018 - JavaScript
Snapdragon utility for creating a new AST node in custom code, such as plugins.
Converts a string into an array of tokens, with useful methods for looking ahead and behind, capturing, matching, et cetera.
Utilities for the snapdragon parser/compiler.
CLI for breakdance, the HTML to markdown converter for node.js.
Snapdragon plugin for converting a cheerio AST to a snapdragon AST.
Snapdragon plugin that adds a capture method to the parser instance, which allows you to capture tokens with a single line of code
Snapdragon plugin that adds an `isInside` method to the compiler instance for checking if a node is currently inside a given node type.
visit and mapVisit methods for snapdragon nodes.
Plugin that adds a `.captureSet()` method to snapdragon, for matching and capturing substrings that have an `open` and `close`, like braces, brackets, etc
Create a snapdragon token. Used by the snapdragon lexer, but can also be used by plugins.
Snapdragon util and plugin for patching the position on an AST node.
Add a description, image, and links to the snapdragon topic page so that developers can more easily learn about it.
To associate your repository with the snapdragon topic, visit your repo's landing page and select "manage topics."