Module def

Source
Expand description

Definitions of syntax structures.

Structs§

ApplyExpr
Represents a function application expression.
ArgsExpr
Represents an arguments expression.
BinInst
A binary operation type.
ContentRefExpr
Represents a content reference expression.
ContentSeqExpr
Represents a content sequence expression.
DocsDecl
A documentation declaration linking a base declaration with type variables.
ElementExpr
Represents an element expression.
ExprInfo
Information about expressions in a source file.
ExprInfoRepr
Representation of ExprInfo for a specific file.
ForExpr
Represents a for loop expression.
FuncExpr
Represents a function expression.
GeneratedDecl
A generated declaration with a unique definition ID.
IfExpr
Represents a conditional (if) expression.
ImportExpr
Represents an import expression.
IncludeExpr
Represents an include expression.
LetExpr
Represents a let binding expression.
ModuleDecl
A module declaration with name and file ID.
NameRangeDecl
A declaration with a name and range information.
PatternSig
Signature pattern for function parameters.
RefExpr
Represents a reference expression.
SelectExpr
Represents a field selection expression.
SetExpr
Represents a set rule expression.
ShowExpr
Represents a show rule expression.
SpanDecl
A span-only declaration for anonymous constructs.
SpannedDecl
A declaration with an associated name and span location.
UnInst
A unary operation type.
WhileExpr
Represents a while loop expression.

Enums§

ArgExpr
Represents different kinds of function arguments.
Decl
Represents different kinds of declarations in the language.
DefKind
Kind of a definition.
Expr
Represents different kinds of expressions in the language.
ExprScope
Different types of scopes for expression evaluation.
Pattern
Represents different kinds of patterns for destructuring.
UnaryOp
The kind of unary operation.

Type Aliases§

BinExpr
Type alias for binary expressions.
BinaryOp
Type alias for binary operation types.
DeclExpr
Type alias for declaration expressions.
ExportMap
Type alias for export maps.
LexicalScope
Type alias for lexical scopes.
UnExpr
Type alias for unary expressions.