Expand description
The immediate output of the parsing process.
In the description of the M4 assembler, the “manuscript” is the user’s input, and the interpretation of editing meta-commands in the manuscript turns it into a “directive”. This assembler doesn’ implement M4’s editing commands, however.
Re-exports§
use std::collections::BTreeMap;🔒use tracing::Level;🔒use tracing::event;🔒use tracing::event;🔒use base::Unsigned18Bit;🔒use base::charset::Script;🔒use base::prelude::Address;🔒use super::ast::ArithmeticExpression;🔒use super::ast::Equality;🔒use super::ast::EqualityValue;🔒use super::ast::InstructionSequence;🔒use super::ast::LocalSymbolTableBuildFailure;🔒use super::ast::OnUnboundMacroParameter;🔒use super::ast::Origin;🔒use super::ast::SymbolUse;🔒use super::ast::Tag;🔒use super::ast::TaggedProgramInstruction;🔒use super::ast::block_items_with_offset;🔒use super::collections::OneOrMore;🔒use super::directive::Directive;🔒use super::lexer::Token;🔒use super::memorymap::LocatedBlock;🔒use super::memorymap::MemoryMap;🔒use super::span::Span;🔒use super::span::Spanned;🔒use super::state::MacroLookup;🔒use super::state::MacroTable;🔒use super::state::NumeralMode;🔒use super::symbol::InconsistentSymbolUse;🔒use super::symbol::SymbolContext;🔒use super::symbol::SymbolName;🔒use super::symtab::ExplicitDefinition;🔒use super::symtab::ExplicitSymbolTable;🔒use super::types::BlockIdentifier;🔒
Structs§
- Macro
Body 🔒 - The body of a successfully-parsed macro definition
- Macro
Definition 🔒 - Macro
Invocation 🔒 - Macro
Parameter 🔒 - Macro
Parameter 🔒Bindings - Manuscript
Block 🔒 - Punch
Command 🔒 - Represents the ☛☛PUNCH metacommand.
- Source
File 🔒
Enums§
- Macro
Body 🔒Line - Macro
Dummy 🔒Parameters - As defined with ☛☛DEF, a macro’s name is followed by a terminator, or by a terminator and some arguments. We model each argument as being introduced by its preceding terminator.
- Macro
Parameter 🔒Value - Manuscript
Line 🔒 - Manuscript
Meta 🔒Command