Modules§
- ast
- ast.rs
- cli
- deserializer
- deserializer.rs
- diagnostics
- diagnostics.rs
- handler
- handler.rs
- lsp
- parser
- parser.rs
- prelude
- serializer
- serializer.rs
- token
- token.rs
Structs§
- Action
- An action to be executed
- Branch
Case - A single case in a branch definition
- Branch
Def - A branch definition for asymmetric text interpolation
- Choice
- A choice option for branching dialogue
- Choice
Item - Condition
- A condition for choice availability
- Constant
- A constant declaration
- Deserializer
- Deserializer for loading .mortared JSON files
- Diagnostic
- Diagnostic
Collector - Enum
- An enum definition
- Event
- An event triggered at a specific index
- Event
Action - Event
Def - An event definition
- File
Handler - Handle file operations
- Function
- A function declaration
- IfCondition
- A conditional expression for if-else statements
- Index
Override - Index override for run statements
- Metadata
- Metadata information about the compiled Mortar file
- Mortared
Data - Node
- A dialogue node with a linear content flow
- NodeDef
- Param
- A function parameter
- Parse
Handler - Parser
Event - Program
- Serializer
- Statement
- A statement (e.g., assignment)
- String
Part - A part of an interpolated string
- Timeline
Def - A timeline definition
- Timeline
Stmt - A timeline statement
- Token
Info - Lexical analysis result containing token information and position
- Variable
- A variable declaration
Enums§
- Content
Item - Represents the different types of content within a node’s linear flow.
This enum itself is not directly deserialized into, but serves as a guide
to the structure of the
Valueobjects inNode.content. - Diagnostic
Kind - File
Error - Language
- Node
Jump - Node
Stmt - Severity
- Token
- TopLevel
Functions§
- tokenize
- Public lexical analysis interface for LSP and other external components