Skip to main content

Module manuscript

Module manuscript 

Source
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§

MacroBody 🔒
The body of a successfully-parsed macro definition
MacroDefinition 🔒
MacroInvocation 🔒
MacroParameter 🔒
MacroParameterBindings 🔒
ManuscriptBlock 🔒
PunchCommand 🔒
Represents the ☛☛PUNCH metacommand.
SourceFile 🔒

Enums§

MacroBodyLine 🔒
MacroDummyParameters 🔒
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.
MacroParameterValue 🔒
ManuscriptLine 🔒
ManuscriptMetaCommand 🔒

Functions§

build_local_symbol_table 🔒
definitions_only 🔒
expand_macro 🔒
manuscript_lines_to_source_file 🔒
offset_to_block_id 🔒