moonbitlang/parser/mbti_ast does not have a README file
pub(all) enum AliasSig {
TypeAlias(name~ : Name, type_params~ : List[TypeParamNoConstraints], type_~ : Type, vis~ : Visibility, attrs~ : List[Attribute])
Using(pkg~ : Name, target~ : Name, name~ : Name?, kind~ : UsingKind, attrs~ : List[Attribute])
FuncAlias(name~ : Name, type_name~ : Name, attrs~ : List[Attribute])
} derive(Debug)pub(all) struct ImplSig {
type_params : List[TypeParamWithConstraints]
type_ : Type
trait_name : QualifiedName
attrs : List[Attribute]
} derive(Debug)pub(all) struct TraitSig {
name : Name
super_traits : List[QualifiedName]
methods : List[TraitMethodSig]
vis : Visibility
attrs : List[Attribute]
} derive(Debug)pub(all) enum TypeDefinition {
Abstract
Newtype(Type)
TupleStruct(List[Type])
Error(ExceptionDecl)
ExtensibleEnum(List[ConstrDecl])
ExtendEnum(target~ : QualifiedName, constructors~ : List[ConstrDecl])
Variant(List[ConstrDecl])
Record(fields~ : List[FieldDecl])
Alias(Type)
} derive(Debug)pub(all) struct TypeParamWithConstraints {
name : Name
constraints : List[QualifiedName]
} derive(Debug)pub(all) struct TypeSig {
name : Name
type_params : List[TypeParamNoConstraints]
components : TypeDefinition
vis : Visibility
attrs : List[Attribute]
derives : List[QualifiedName]
} derive(Debug)AST and parsers for the MoonBit programming language
Dependencies