moonrockz/krueger/ast does not have a README file
impl Show for DecodeErrorpub(all) enum Expression {
UnitExpr
Application(ArrayView[Node[Expression]])
OperatorApplication(String, InfixDirection, Node[Expression], Node[Expression])
FunctionOrValue(ArrayView[String], String)
IfBlock(Node[Expression], Node[Expression], Node[Expression])
PrefixOperator(String)
Operator(String)
Integer(Int64)
Hex(Int64)
Floatable(Double)
Negation(Node[Expression])
Literal(String)
CharLiteral(Char)
TupledExpression(ArrayView[Node[Expression]])
ParenthesizedExpression(Node[Expression])
LetExpression(LetBlock)
CaseExpression(CaseBlock)
LambdaExpression(Lambda)
RecordExpr(ArrayView[Node[RecordSetter]])
ListExpr(ArrayView[Node[Expression]])
RecordAccess(Node[Expression], Node[String])
RecordAccessFunction(String)
RecordUpdateExpression(Node[String], ArrayView[Node[RecordSetter]])
GLSLExpression(String)
} derive(Eq, Debug)pub(all) struct LetBlock {
declarations : ArrayView[Node[LetDeclaration]]
expression : Node[Expression]
} derive(Eq, Debug)pub(all) enum Module {
NormalModule(DefaultModuleData)
PortModule(DefaultModuleData)
EffectModule(EffectModuleData)
} derive(Eq, Debug)pub(all) enum Pattern {
AllPattern
UnitPattern
CharPattern(Char)
StringPattern(String)
IntPattern(Int64)
HexPattern(Int64)
FloatPattern(Double)
TuplePattern(ArrayView[Node[Pattern]])
RecordPattern(ArrayView[Node[String]])
UnConsPattern(Node[Pattern], Node[Pattern])
ListPattern(ArrayView[Node[Pattern]])
VarPattern(String)
NamedPattern(QualifiedNameRef, ArrayView[Node[Pattern]])
AsPattern(Node[Pattern], Node[String])
ParenthesizedPattern(Node[Pattern])
} derive(Eq, Debug)pub(all) struct RecordField {
name : Node[String]
type_annotation : Node[TypeAnnotation]
} derive(Eq, Debug)pub(all) struct RecordSetter {
field : Node[String]
expression : Node[Expression]
} derive(Eq, Debug)pub(all) struct Signature {
name : Node[String]
type_annotation : Node[TypeAnnotation]
} derive(Eq, Debug)pub(all) enum TopLevelExpose {
InfixExpose(String)
FunctionExpose(String)
TypeOrAliasExpose(String)
TypeExpose(ExposedType)
} derive(Eq, Debug)pub(all) enum TypeAnnotation {
GenericType(String)
Typed(Node[(ArrayView[String], String)], ArrayView[Node[TypeAnnotation]])
Unit
Tupled(ArrayView[Node[TypeAnnotation]])
Record(ArrayView[Node[RecordField]])
GenericRecord(Node[String], Node[ArrayView[Node[RecordField]]])
FunctionTypeAnnotation(Node[TypeAnnotation], Node[TypeAnnotation])
} derive(Eq, Debug)Install
Download zipParser and parsing utilities for Elm and Elm-like dialects (e.g. Morphir) in MoonBit
Dependencies