Back to Eqiora docs Skip to main content

Module language

Module language 

Source
Description

Eqiora Language syntax, lossless tokens, parser, and canonical formatter.

Structs§

AstConstructionError
A structural source-AST construction failure.
BoundaryConnectionDecl
One boundary Connection containing field-valued Port references.
BoundaryPortReferenceSyntax
One Port path with an optional exact boundary-member selector.
BoundaryPortSelectorSyntax
Closed [member = target] selector on one boundary-family Port.
CaseArm
One explicit qualified enum-tag pattern and its authored result expression.
ClockDecl
Exact periodic clock declaration.
ClockRequirementDecl
Borrowed exact clock requirement; it does not declare another period or phase.
ComponentDecl
A reusable typed source definition before deterministic elaboration.
ComponentParameterDecl
Component-local scalar Parameter declaration.
ComponentPortDecl
Component-local Port declaration.
ComponentPortFamilyDecl
One field-physical Port declaration expanded over a complete exterior.
ComponentPropertyDecl
One exact nominal property contract in a shared external signature.
ConnectionDecl
Connection declaration.
ConnectorDecl
A nominal compilation-unit connector family.
ConnectorQuantitySyntax
One named quantity member of a field-valued physical Connector.
ConservationSyntax
Fixed-domain storage, outward flux, and volumetric production expressions.
DecimalLiteral
An exact signed decimal coefficient times a power of ten.
DocComment
Documentation attached to one declaration or signature entry in its source.
Document
One parsed source file.
DomainDecl
Named semantic Domain declaration.
DraftConservingConnection
Immutable anonymous conserving connection net.
DraftConservingPort
Immutable scalar conserving Port bound to one draft-local Domain identity.
DraftExpression
Immutable symbolic expression used only while defining a native model.
DraftField
Immutable typed Field declaration, either local or spatially supported.
DraftObservable
Immutable typed derived output; it introduces no solve unknown.
DraftParameter
Immutable Parameter declaration owning one complete validated value.
DraftPhysicalDomain
Immutable nominal Domain for one scalar across/through pair.
DraftRelation
Immutable continuous implicit Relation declaration.
DraftSpatialDomain
Immutable draft-local Cartesian volume or oriented boundary Domain.
EnumDecl
A module-level enum whose ordered tags belong to one declaration identity.
EventDecl
A private event with an inferred guard type and explicit crossing direction.
ExactIntegerSyntax
One exact nonnegative integer token with its original source spelling.
Expr
Source expression with its exact byte range.
FamilyBinderSyntax
Lexical binder for a member of a finite index or complete exterior support set.
FieldDecl
A source unknown with independent role, support, and activation.
FiniteBasisSyntax
One declared finite basis or its algebraic dual in source syntax.
InitialDecl
Simultaneous mathematical conditions used only for fresh initialization.
InstanceDecl
One named compile-time component instance.
ModelDecl
A named model and its declarations.
Module
Immutable compilation module over the same declaration and expression AST produced by the parser. Native nominal identities and diagnostic paths are explicit authoring metadata, not a second semantic graph.
NamePath
One nonempty source name, optionally qualified by lexical member selection.
NamedBindingDecl
One category-free named occurrence binding.
NamedDefinitionDecl
Named expression definition. Its containing declaration determines meaning and allowed assertions.
Notation
Validated declaration notation with original source provenance.
NotationError
A notation error at a UTF-8 byte range relative to the supplied island.
NotationLabel
A bounded generated label, separate from source notation admission.
ObservableDecl
A typed derived value, separate from unknowns and equations.
ParameterDecl
Parameter source declaration.
ParseResult
Parsed document, lossless tokens, and accumulated source diagnostics.
PortDecl
Port declaration.
PropertyTableSyntax
The sole supported table profile: exact piecewise-affine values and open derivatives.
PureOperatorDecl
One exact, side-effect-free operator definition in source form.
PureOperatorFormal
One ordered pure-operator formal.
RecordDecl
A module-level closed record, with declaration-ordered named members.
RecordMemberDecl
One named member retaining its complete mathematical type.
RelationCondition
One ordered authored condition, retaining source ranges and explicit predicates. Residual construction and nonnegativity normalization belong to checked lowering.
RelationDecl
Relation declaration.
RelationFamilyDecl
One Relation expanded once per member of an exact finite set.
SourceAstFactory
Checked factory for owned source AST values.
SupportSlotDecl
Component-local spatial-support interface.
TextRange
Half-open UTF-8 byte range in one source file.
Token
One lossless source token.
ValueTypeSyntax
Source-level mathematical type, before dimensions and support are resolved.

Enums§

ActivationSyntax
Source activation syntax.
BinaryOp
Infix expression operator.
BoundaryPairingSyntax
Source boundary pairing for one trace/flux dual pair.
BoundarySideSyntax
Source spelling of a Cartesian boundary side.
CallArguments
One authored-order argument list for a shared expression call.
CartesianCoordinateSyntax
Closed source spelling for one Cartesian coordinate endpoint.
ComponentItem
Private Component implementation declarations.
ConnectionSyntax
Source connection kind.
ConnectorSyntax
Source contract for one nominal connector family.
DomainSyntax
Source contract for one canonical Domain.
DraftDeclaration
One declaration admitted by the first native-construction slice.
ExprKind
Recursive parser AST. Canonical residual storage is the lowered DAG.
FieldRoleSyntax
Author-declared mathematical evolution role.
FormulationBinding
Mathematical variables introduced by an authored formulation.
FrameSyntax
Source frame discipline for field-valued physical quantities.
Item
Model-level declaration.
NotationAccent
An admitted symbol accent, without mathematical evaluation.
NotationAtom
Admitted letter or distinguished symbol. Digits occur only in intrinsic scripts.
NotationMark
An intrinsic script mark, never an expression operation.
NotationNode
One admitted symbol decoration, independent of any rendering backend.
NotationProfile
A declaration-label output profile. Accessibility deliberately drops styles.
NotationStyle
Explicit symbol style, independent of the declaration’s mathematical type.
PortSyntax
Source-level Port contract.
PropertySourceSyntax
One closed property definition, with data references kept outside value scope.
PureValueClassSyntax
Closed source value classes admitted by a pure operator definition.
ReductionOp
Scalar operation for an ordered finite reduction.
RelationBody
Exclusive mathematical syntax of a Relation declaration.
RelationConditionKind
Mathematical meaning of one ordered pair of expression roots.
SignalDirectionSyntax
Source-level signal direction.
SignatureItem
One public requirement or occurrence-owned exposed value in a typed signature.
SupportSlotSyntax
Source contract for one component spatial-support slot.
TokenKind
Lexical token class.
UnaryOp
Prefix expression operator.
ValueShapeSyntax
Source spelling of an exact value shape or a context-dependent convenience.
ValueTypeSyntaxKind
Closed mathematical type constructors. Arrays retain their element type.
VisibilitySyntax
Source declaration visibility. Absence of a modifier parses as private.

Functions§

format
Canonically format syntax and the comment trivia owned by each declaration.
lex
Tokenize one UTF-8 source file without discarding bytes.
parse
Parse one Eqiora Language source file, including declaration-only package library units.