tonyfettes/tree_sitter/node_types does not have a README file
pub struct ChildType { multiple : Bool required : Bool types : Array[NodeType]} derive(Show, ToJson)
pub struct NodeType { type_ : String named : Bool payload : NodeTypePayload} derive(Show)
impl ToJson for NodeType
fn to_json(self : NodeType) -> Json
impl FromJson for NodeType
fn from_json(json : Json, path : @moonbitlang/core/json.JsonPathJsonPath) -> NodeType raise @moonbitlang/core/json.JsonDecodeErrorJsonDecodeError
pub enum NodeTypePayload { Empty Supertype(Array[NodeType]) Normal(Map[String, ChildType], ChildType)} derive(Show)
pub type NodeTypes Array[NodeType] derive(Show, ToJson, @moonbitlang/core/json.FromJsonFromJson)
fn NodeTypes::from_json(json : Json) -> NodeTypes raise @moonbitlang/core/json.JsonDecodeErrorJsonDecodeError
#deprecated("Use `struct T(A)` to declare a newtype and use `.0` access the underlying type instead.")fn NodeTypes::inner(self : NodeTypes) -> Array[NodeType]
Install
A MoonBit binding to the tree-sitter parsing library
Dependencies
Powered by MoonBit
© 2026 mooncakes.io