pub struct Program {Show 13 fields
pub id: String,
pub options: Vec<String>,
pub initial: bool,
pub recursive: bool,
pub working_storage: Vec<DataEntry>,
pub local_storage: Vec<DataEntry>,
pub linkage: Vec<DataEntry>,
pub using: Vec<Param>,
pub returning: Option<String>,
pub paragraphs: Vec<Paragraph>,
pub files: Vec<FileDecl>,
pub sources: Vec<String>,
pub exec_declarations: Vec<ExecBlock>,
}Fields§
§id: String§options: Vec<String>Options from CBL and PROCESS cards, in the order written.
initial: boolPROGRAM-ID … IS INITIAL: WORKING-STORAGE starts afresh on every CALL.
recursive: bool§working_storage: Vec<DataEntry>§local_storage: Vec<DataEntry>LOCAL-STORAGE: fresh for every activation of the program.
linkage: Vec<DataEntry>§using: Vec<Param>PROCEDURE DIVISION USING: the LINKAGE items the caller’s arguments address.
returning: Option<String>§paragraphs: Vec<Paragraph>§files: Vec<FileDecl>Files declared by SELECT and described by FD, with their record descriptions.
sources: Vec<String>The program’s source file, then each COPY member, as positions index them.
exec_declarations: Vec<ExecBlock>EXEC blocks in the DATA DIVISION: SQL declarations, cursors and DECLARE SECTION markers.
Trait Implementations§
impl Eq for Program
impl StructuralPartialEq for Program
Auto Trait Implementations§
impl Freeze for Program
impl RefUnwindSafe for Program
impl Send for Program
impl Sync for Program
impl Unpin for Program
impl UnsafeUnpin for Program
impl UnwindSafe for Program
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