Module prelude

Source

Re-exports§

pub use crate::ScriptError;

Structs§

AliasType
Analyzer
AnonymousStructType
ArrayItem
ArrayType
AstParser
AutoUseModules
BinaryOperator
BooleanExpression
Builder
CompoundOperator
Constant
Constants
DependencyParser
EnumType
EnumVariantCommon
EnumVariantSimpleType
EnumVariantStructFieldType
EnumVariantStructType
EnumVariantTupleFieldType
EnumVariantTupleType
Error
ExecuteError
Expression
ExternalFunctionCall
ExternalFunctionDefinition
ExternalFunctions
ExternalType
FormatSpecifier
Fp
A fixed-point number with 16.16 format.
Guard
InternalFunctionCall
InternalFunctionDefinition
Interpreter
IntrinsicFunctionDefinition
Iterable
Label
LocalIdentifier
LocalTypeIdentifier
Match
MatchArm
MemberCall
Module
Modules
MutVariable
NamedStructType
Namespace
Node
ParameterNode
ParseError
ParsedAstModule
Program
ProgramState
Report
SeqMap
A deterministic map that preserves insertion order.
Signature
SourceLinesWrap
SourceMap
SourceMapWrapper
Span
StructInstantiation
StructTypeField
SymbolTable
TupleType
TypeForParameter
TypeRegistry
UnaryOperator
ValueReference
Variable

Enums§

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

Traits§

QuickSerialize
SourceMapLookup
SwampExport

Functions§

build_analyze_error
build_execute_error
build_parse_error
comma_seq
convert_to_values
create_std_module
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
show_analyzer_error
Panics
show_dep_loader_error
show_dependency_error
show_eval_loader_error
show_execute_error
Panics
show_parse_error_internal
Panics
show_parser_error
Panics
util_execute_expression
util_execute_function
util_execute_member_function_mut

Type Aliases§

AliasTypeRef
ArrayItemRef
ArrayTypeRef
ConstantRef
EnumTypeRef
EnumVariantTypeRef
ExternalFunctionDefinitionRef
ExternalFunctionId
ExternalTypeRef
FileId
FunctionRef
InternalFunctionDefinitionRef
IntrinsicFunctionDefinitionRef
ModuleRef
StructTypeRef
TupleTypeRef
TypeNumber
ValueRef
VariableRef