tree-sitter-objectscript
ObjectScript Grammars for tree-sitter.
This crate provides ObjectScript UDL and ObjectScript Playground (any valid objectscript command, class, or class statement) language support for the tree-sitter parsing library.
There are two grammars:
- objectscript_udl - this is the udl (classes and routines) grammar. This extends the
objectscript_coreandobjectscript_exprgrammars, and should be used for .cls files. - objectscript: this grammar extends
objectscript_udl, and is meant to be used for highlighting valid objectscript classes, statements, methods etc on their own.
See docs.rs for information on how to access the languages and their associated query files.