tree-sitter-shopware-twig

Crates.iotree-sitter-shopware-twig
lib.rstree-sitter-shopware-twig
version0.2.3
created_at2025-08-12 06:43:50.9408+00
updated_at2025-08-12 06:54:37.889476+00
descriptionA parser for Shopware 6 Twig
homepage
repositoryhttps://www.github.com/haberkamp/tree-sitter-shopware-twig
max_upload_size
id1791510
size125,293
Nils Haberkamp (Haberkamp)

documentation

README

tree-sitter-shopware-twig

A tree-sitter grammar for the Shopware 6 Twig admin markup language.

Installation

npm install tree-sitter-shopware-twig

Usage

Note: We expect you to have a basic understanding of tree-sitter. If you don't, please read the tree-sitter documentation.

const Parser = require("tree-sitter");
const ShopwareTwig = require("tree-sitter-shopware-twig");

const parser = new Parser();
parser.setLanguage(ShopwareTwig);

const tree = parser.parse("{% block my_block %}Hello, world!{% endblock %}");

Author

Hey, I'm Nils. In my spare time I write about things I learned or I create open source packages, that help me (and hopefully you) to build better apps.

Feedback and Contributing

I highly appreceate your feedback! Please create an issue, if you've found any bugs or want to request a feature.

Commit count: 0

cargo fmt