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.
BoundaryDecl
Model boundary declaration.
BoundaryFamilyBinderSyntax
Restricted binder for one member of a complete exterior support set.
BoundaryPortReferenceSyntax
One Port path with an optional exact boundary-member selector.
BoundaryPortSelectorSyntax
Closed [member = target] selector on one boundary-family Port.
BoundarySetBindingDecl
One finite boundaries(...) binding for a complete exterior support slot.
BoundarySetMemberSyntax
One lexically named member of a complete exterior binding.
ClockDecl
Exact periodic clock declaration.
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.
ConnectionDecl
Connection declaration.
ConnectorDecl
A nominal compilation-unit connector family.
ConnectorQuantitySyntax
One named quantity member of a field-valued physical Connector.
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 scalar Field declaration, either local or spatially supported.
DraftParameter
Immutable scalar Parameter declaration.
DraftPhysicalDomain
Immutable nominal Domain for one scalar across/through pair.
DraftRelation
Immutable continuous implicit Relation declaration.
DraftRepresentation
Immutable continuous pre-discretization Representation declaration.
DraftSpatialDomain
Immutable draft-local Cartesian volume or oriented boundary Domain.
ExactIntegerSyntax
One exact nonnegative integer token with its original source spelling.
Expr
Source expression with its exact byte range.
FieldBindingDecl
One named occurrence-bound Field binding in a component instantiation.
FieldDecl
Field source declaration.
FieldSlotDecl
Required occurrence-bound continuum Field interface.
InstanceDecl
One named compile-time component instance.
LexResult
Lossless tokens plus lexical diagnostics.
ModelDecl
A named model and its declarations.
ModelDraft
One immutable native model definition request.
NamePath
One nonempty source name, optionally qualified by lexical member selection.
ParameterBindingDecl
One named binding in a component instantiation.
ParameterDecl
Parameter source declaration.
ParseResult
Parsed document, lossless tokens, and accumulated source diagnostics.
PortDecl
Port declaration.
PureOperatorDecl
One exact, side-effect-free operator definition in source form.
PureOperatorExpr
Exact expression admitted inside a pure operator declaration.
PureOperatorFormal
One ordered pure-operator formal.
RationalSyntax
Unreduced rational literal; semantic validation occurs during lowering.
RelationDecl
Relation declaration.
RelationFamilyDecl
One continuous Relation expanded once per complete-exterior member.
RepresentationDecl
Canonical Representation declaration.
SourceAstFactory
Checked factory for owned source AST values.
SupportBindingDecl
One named spatial-support binding in a component instantiation.
SupportSlotDecl
Component-local spatial-support interface.
TextRange
Half-open UTF-8 byte range in one source file.
Token
One lossless source token.

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.
CartesianCoordinateSyntax
Closed source spelling for one Cartesian coordinate endpoint.
ComponentItem
Component-body declaration.
ConnectionSyntax
Source connection kind.
ConnectorSyntax
Source contract for one nominal connector family.
DomainSyntax
Source contract for one canonical Domain.
DraftBoundarySide
Lower or upper oriented side of a Cartesian Domain.
DraftDeclaration
One declaration admitted by the first native-construction slice.
ExprKind
Recursive parser AST. Canonical residual storage is the lowered DAG.
FrameSyntax
Source frame discipline for field-valued physical quantities.
Item
Model-level declaration.
PortSyntax
Source-level Port contract.
PureOperatorBinaryOp
Infix operators admitted by a pure operator body.
PureOperatorExprKind
Closed exact expression vocabulary for pure operators.
PureValueClassSyntax
Closed source value classes admitted by a pure operator definition.
RepresentationSyntax
Source representation family.
SignalDirectionSyntax
Source-level signal direction.
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.
VisibilitySyntax
Source declaration visibility. Absence of a modifier parses as private.

Functions§

format
Format a syntax tree into canonical Eqiora Language source.
lex
Tokenize one UTF-8 source file without discarding bytes.
parse
Parse one Eqiora Language source file, including declaration-only package library units.