Search results
17 packages found
Class for creating AST nodes.
Utilities for the snapdragon parser/compiler.
Easy-to-use plugin system for creating powerful, fast and versatile parsers and compilers, with built-in source-map support.
Converts a string into an array of tokens, with useful methods for looking ahead and behind, capturing, matching, et cetera.
Easily parse a string to create an AST.
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.
Easily scan a string with an object of regex patterns to produce an array of tokens. ~100 sloc.
Adds a location object to snapdragon token or AST node.
Snapdragon utility for creating a stack.
Adds support for handlers, events and plugins to snapdragon libraries.
visit and mapVisit methods for snapdragon nodes.
Snapdragon plugin that adds a capture method to the parser instance.
- capture
- compile
- compiler
- convert
- handler
- match
- parse
- parser
- plugin
- render
- set
- snapdragon
- snapdragonplugin
- transform
Snapdragon plugin for converting a cheerio AST to a snapdragon AST.
Plugin that adds a `.captureSet()` method to snapdragon, for matching and capturing substrings that have an `open` and `close`, like braces, brackets, etc
Scaffold out a new snapdragon plugin project.
- boilerplate
- build
- cli
- cli-app
- command-line
- create
- dev
- development
- framework
- front
- frontend
- generate
- generate-generator
- generate-plugin
- View more
Snapdragon plugin that adds an `isInside` method to the compiler instance for checking if a node is currently inside a given node type.