Skip to main content

Op

Enum Op 

Source
pub enum Op {
Show 32 variants Move { from: Operand, to: u32, plan: MovePlan, }, Initialize { target: u32, plan: u32, }, Arith(u32), SetAddress { records: Vec<u16>, address: Operand, }, SetUpDown { by: IntExpr, down: bool, targets: Vec<(u32, UpDown)>, }, Step { var: u32, by: u32, plan: StepPlan, prepass: Vec<u32>, }, SetInt { target: u32, value: IntExpr, }, Inspect(u32), String(u32), Unstring(u32), SearchAll(u32), Nest, Unnest(u8), SetTemp(u16, IntExpr), DecTemp(u16), Display(u32), Accept { target: u32, from: AcceptFrom, plan: MovePlan, }, File(u32), Call(u32), Cancel(Operand), Sort(u32), Release(u32), Return(u32), Report(ReportOp), Invoke(u32), Cics(u32), Sql(u32), Alter { para: u32, to: u32, }, EnterSegment(u8), DebugLine(u32), DebugAlter { range: u32, name: u32, contents: u32, }, Markup(u32),
}

Variants§

§

Move

Fields

§from: Operand
§to: u32
§

Initialize

Fields

§target: u32
§plan: u32
§

Arith(u32)

§

SetAddress

SET ADDRESS OF: address evaluated once, NULL or an address in run-unit memory, then each LINKAGE record given it in turn.

Fields

§records: Vec<u16>
§address: Operand
§

SetUpDown

SET UP BY or DOWN BY: by evaluated once, then each receiver read and moved in turn.

Fields

§down: bool
§targets: Vec<(u32, UpDown)>
§

Step

PERFORM VARYING’s increment: var located, then each place of prepass, then var + by computed and stored.

Fields

§var: u32
§by: u32
§prepass: Vec<u32>
§

SetInt

SEARCH’s index steps, SORT-RETURN.

Fields

§target: u32
§value: IntExpr
§

Inspect(u32)

§

String(u32)

§

Unstring(u32)

§

SearchAll(u32)

§

Nest

Raises the PERFORM and CALL depth, abending past 100.

§

Unnest(u8)

§

SetTemp(u16, IntExpr)

§

DecTemp(u16)

§

Display(u32)

§

Accept

Fields

§target: u32
§

File(u32)

§

Call(u32)

§

Cancel(Operand)

§

Sort(u32)

§

Release(u32)

§

Return(u32)

§

Report(ReportOp)

§

Invoke(u32)

§

Cics(u32)

§

Sql(u32)

§

Alter

ALTER: from now on control reaching paragraph para goes to to. The alter table lives as long as the program’s WORKING-STORAGE.

Fields

§para: u32
§to: u32
§

EnterSegment(u8)

Control reaching a paragraph of segment priority: when that differs from the segment register and is 50 or more, the alter entries of the segment’s paragraphs are cleared. The register then holds priority.

§

DebugLine(u32)

Under the DEBUG option: the line of the statement starting, which DEBUG-LINE gives.

§

DebugAlter

Under the DEBUG option, after an ALTER of a paragraph a debugging section serves: that section, with DEBUG-NAME name and DEBUG-CONTENTS contents, the TO PROCEED TO name.

Fields

§range: u32
§name: u32
§contents: u32
§

Markup(u32)

JSON GENERATE, JSON PARSE, XML GENERATE or XML PARSE (lir.md §9.13).

Trait Implementations§

Source§

impl Clone for Op

Source§

fn clone(&self) -> Op

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Op

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Decode for Op

Source§

impl Encode for Op

Source§

fn encode(&self, w: &mut Writer)

Source§

impl Eq for Op

Source§

impl PartialEq for Op

Source§

fn eq(&self, other: &Op) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Op

Auto Trait Implementations§

§

impl Freeze for Op

§

impl RefUnwindSafe for Op

§

impl Send for Op

§

impl Sync for Op

§

impl Unpin for Op

§

impl UnsafeUnpin for Op

§

impl UnwindSafe for Op

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.