Skip to main content

Module compiler

Module compiler 

Source

Re-exports§

pub use self::ir::AssignmentKind;
pub use self::ir::ClosureExpr;
pub use self::ir::Expr;
pub use self::ir::FrontendIr;
pub use self::ir::FunctionDecl;
pub use self::ir::FunctionImpl;
pub use self::ir::FunctionParam;
pub use self::ir::LocalIrBuilder;
pub use self::ir::LocalSlot;
pub use self::ir::MatchPattern;
pub use self::ir::MatchTypePattern;
pub use self::ir::Stmt;
pub use self::ir::StructDecl;
pub use self::ir::TypeSchema;

Modules§

diagnostics
ir
source_map

Structs§

CompileSourceFileOptions
CompiledProgram
CompiledReplProgram
Compiler
InferredLocalTypeHint
ModuleImport
NamedImport
ParseError
ReplLocalBinding
ReplLocalState
SharedParserOptions
UnknownInferredLocal

Enums§

CompileError
FormatError
FrontendImportSyntax
ImportClause
SourceError
SourceFlavor
SourcePathError

Traits§

ParserDialect
SourcePlugin

Functions§

collect_inferred_local_type_hints
collect_inferred_local_type_hints_at_path_with_options
collect_inferred_local_type_hints_with_options
compile_source
compile_source_at_path_with_flavor_and_options
compile_source_file
compile_source_file_with_options
compile_source_for_repl
compile_source_for_repl_with_locals
compile_source_for_repl_with_state
compile_source_with_flavor
compile_source_with_flavor_and_options
format_source
format_source_with_flavor
format_source_with_flavor_and_options
lint_trailing_function_return_semicolons
lint_unknown_inferred_local_types
lint_unknown_inferred_local_types_at_path_with_options
lint_unknown_inferred_local_types_with_options
lint_unknown_type_annotations
parse_source_with_dialect