tonyfettes/tree_sitter/node_types does not have a README file
pub struct ChildType { multiple : Bool required : Bool types : Array[NodeType]}
impl Show for ChildType
fn output(ChildType, &Logger) -> Unit
impl ToJson for ChildType
fn to_json(ChildType) -> Json
pub struct NodeType { type_ : String named : Bool payload : NodeTypePayload}
impl Show for NodeType
fn output(NodeType, &Logger) -> Unit
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)}
impl Show for NodeTypePayload
fn output(NodeTypePayload, &Logger) -> Unit
pub type NodeTypes Array[NodeType]
impl Show for NodeTypes
fn output(NodeTypes, &Logger) -> Unit
impl ToJson for NodeTypes
fn to_json(NodeTypes) -> Json
impl FromJson for NodeTypes
fn from_json(Json, @moonbitlang/core/json.JsonPathJsonPath) -> NodeTypes raise @moonbitlang/core/json.JsonDecodeErrorJsonDecodeError
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
No dependents
Powered by MoonBit
© 2026 mooncakes.io