Module prelude

Source

Re-exports§

pub use crate::ScriptError;

Structs§

AliasType
Analyzer
AnonymousStructType
ArrayItem
AssociatedImpls
AstParser
BinaryOperator
BooleanExpression
CompoundOperator
Constant
Constants
DependencyParser
EnumType
EnumVariantCommon
EnumVariantSimpleType
EnumVariantStructFieldType
EnumVariantStructType
EnumVariantTupleFieldType
EnumVariantTupleType
Error
Expression
ExternalFunctionCall
ExternalFunctionDefinition
ExternalFunctions
ExternalType
FormatSpecifier
Fp
A fixed-point number with 16.16 format.
FunctionScopeState
GenericAwareSignature
Guard
InstantiationCache
It is not a proper Monomorphization cache, but similar
InternalFunctionCall
InternalFunctionDefinition
Interpreter
IntrinsicFunctionDefinition
Iterable
LocalIdentifier
LocalTypeIdentifier
Match
MatchArm
MemberCall
Module
Modules
MutVariable
NamedStructType
Node
ParameterNode
ParseError
ParsedAstModule
Program
ProgramState
RuntimeError
SeqMap
A deterministic map that preserves insertion order.
Signature
SourceMap
SourceMapWrapper
Span
StructInstantiation
StructTypeField
SymbolTable
TypeForParameter
UnaryOperator
ValueReference
Variable

Enums§

CompoundOperatorKind
ConversionError
DepLoaderError
EnumLiteralData
EnumVariantType
ExpressionKind
ForPattern
FormatSpecifierKind
FuncDef
Function
IntrinsicFunction
Literal
LoaderErr
Pattern
PrecisionType
Rule
ScriptResolveError
SemanticError
SpecificError
StringPart
Symbol
Type
Value
ValueError
VariableValue

Constants§

PACKAGE_NAME

Traits§

QuickSerialize

Functions§

check_assignable_anonymous_struct_types
comma_seq
compare_anonymous_struct_types
convert_to_values
create_module
Panics
eval_constants
module_path_to_relative_swamp_file
module_path_to_relative_swamp_file_string
overwrite_struct
Panics
overwrite_value
parse_local_modules_and_get_order
quick_deserialize
Panics
same_anon_struct_ref
show_analyzer_error
Panics
show_dependency_error
Panics
show_parse_error
show_runtime_error
show_script_resolve_error
Panics
show_semantic_error
swamp_registry_path
Errors
util_execute_expression
util_execute_function
util_execute_member_function_mut

Type Aliases§

ArrayItemRef
ConstantRef
ExternalFunctionDefinitionRef
ExternalFunctionId
FileId
FunctionRef
InternalFunctionDefinitionRef
IntrinsicFunctionDefinitionRef
ModuleRef
ValueRef
VariableRef