pub struct Scope {
pub containers: Vec<u32>,
pub records: Vec<(u16, Binding)>,
pub files: Vec<SharedFile>,
pub areas: Vec<(u16, u16)>,
pub globals: Vec<Global>,
pub global_files: Vec<(u16, u32)>,
pub global_modes: [Option<u32>; 4],
}Expand description
A program’s EXTERNAL and GLOBAL storage, files and procedures; empty for a program with none.
Fields§
§containers: Vec<u32>The PROGRAM-IDs of the programs containing this one, innermost first.
records: Vec<(u16, Binding)>Each LINKAGE record whose storage the run unit or a containing program holds, by ordinal, in ordinal order.
files: Vec<SharedFile>Each file whose connector is not its own, in file order.
areas: Vec<(u16, u16)>Each file whose record area is not in the slab, and the LINKAGE record bound to it.
globals: Vec<Global>A program that contains others: its GLOBAL records and files as they find them.
global_files: Vec<(u16, u32)>A program that contains others: its GLOBAL EXCEPTION/ERROR procedures for files, by file,
and for the open modes, in Declaratives.modes’ order.
global_modes: [Option<u32>; 4]Trait Implementations§
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scope
impl UnwindSafe for Scope
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more