package tree-sitter
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
OCaml bindings for Tree-sitter
Install
dune-project
Dependency
Authors
Maintainers
Sources
mosaic-0.1.0.tbz
sha256=9e4e90d17f9b2af1b07071fe425bc2c519c849c4f1d1ab73cde512be2d874849
sha512=06e9c4a741590942e81a27738d0b5c0413fafec8cf3b7dae047ad69f155e7b718aa4223818dc161b7d028efffcfd3365905e264d6fd31d453910ddfa91dcf9b9
doc/tree-sitter/Tree_sitter/Language/index.html
Module Tree_sitter.LanguageSource
Language grammars.
A Language.t describes the grammar rules, symbols, and fields for a particular programming language. Obtain one from a grammar package (e.g. Tree_sitter_json.language ()) rather than calling of_address directly.
The type for Tree-sitter language grammars.
Constructors
of_address addr is a language from a native pointer addr.
Warning. addr must point to a valid TSLanguage returned by a tree_sitter_<lang>() C function. Prefer grammar-package helpers (e.g. Tree_sitter_json.language ()) instead.
Properties
Symbol lookups
symbol_type lang id is the symbol_type of symbol id.
symbol_for_name lang name ~named is the symbol ID for name, if any. When ~named is true, only named (non-anonymous) symbols are searched.
Field lookups
field_name_for_id lang id is the field name for id, if any.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page