Class RTS_Linkage
java.lang.Object
simula.runtime.RTS_RTObject
simula.runtime.RTS_ENVIRONMENT
simula.runtime.RTS_BASICIO
simula.runtime.RTS_CLASS
simula.runtime.RTS_Linkage
- All Implemented Interfaces:
Runnable
System class Linkage.
class linkage; begin ref (linkage) SUC, PRED; ref (link) procedure suc; suc:- if SUC in link then SUC else none; ref (link) procedure pred; pred:- if PRED in link then PRED else none; ref (linkage) procedure prev; prev:- PRED; end linkage;
The class "linkage" is the common denominator for set heads and set members.
SUC is a reference to the successor of this linkage object in the set, PRED is a reference to the predecessor.
The value of SUC and PRED may be obtained through the procedures "suc" and "pred". These procedures give the value none if the designated object is not a set member, i.e. of class "link" or a subclass of "link".
The attributes SUC and PRED may only be modified through the use of procedures defined within "link" and "head". This protects the user against certain kinds of programming errors.
The procedure "prev" enables a user to access a set head from its first member.
Link to GitHub: Source File.
- Author:
- SIMULA Standards Group, Øystein Myhre Andersen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected RTS_Linkage
The variable PRED.protected RTS_Linkage
The variable SUC.Fields inherited from class simula.runtime.RTS_ENVIRONMENT
_STARTTIME, CURRENTDECIMALMARK, CURRENTLOWTEN, EXCEPTION_HANDLER, maxint, maxlongreal, maxreal, minint, minlongreal, minreal, simulaReleaseID
Fields inherited from class simula.runtime.RTS_RTObject
_CORUT, _CTX, _CUR, _DL, _INPUT_LINELENGTH, _JTX, _OUTPUT_LINELENGTH, _SL, _STATE, _SYSIN, _SYSOUT, _USR, startTimeMs
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class simula.runtime.RTS_BASICIO
terminate_program, toString
Methods inherited from class simula.runtime.RTS_ENVIRONMENT
_char, abs, abs, abs, addepsilon, addepsilon, arccos, arcsin, arctan, arctan2, argv, blanks, Char, clocktime, copy, cos, cosh, cotan, cputime, datetime, decimalmark, DEFEXCEPTION, digit, discrete, draw, edfix, edfix, edit, edit, edit, edit, edit, edit, edtime, edtime, entier, Erlang, error, exit, exp, hash, histd, histo, isochar, isorank, letter, linear, ln, loadChar, log10, lowcase, lowerbound, lowten, max, max, max, max, max, max, max, max, max, max, max, min, min, min, min, min, min, min, min, min, min, min, mod, negexp, normal, Poisson, printStaticChain, printThreadList, randint, rank, rem, sign, simulaid, sin, sinh, sqrt, storeChar, subepsilon, subepsilon, tan, tanh, uniform, upcase, upperbound, waitSomeTime
Methods inherited from class simula.runtime.RTS_RTObject
_GOTO, _JUMPTABLE, _SIM_LABEL, _TREAT_GOTO_CATCH_BLOCK, _VALUE, arrayValue, BBLK, booleanValue, call, call, charValue, CONC, detach, detach, detach, doubleValue, EBLK, edObjectAttributes, edObjectIdent, floatValue, intValue, isDetachUsed, isQPSystemBlock, objectTraceIdentifier, objectTraceIdentifier, objectValue, procValue, resume, resume, resume, swapCoroutines, sysin, sysout, TRACE_GOTO
-
Field Details
-
SUC
The variable SUC. -
PRED
The variable PRED.
-
-
Constructor Details
-
RTS_Linkage
-
-
Method Details
-
_STM
Description copied from class:RTS_RTObject
Method representing the Statements in this Block
This method is virtual and must be redefined in blocks.- Overrides:
_STM
in classRTS_RTObject
- Returns:
- a pointer to this _RTObject
-
suc
-
pred
-
prev
-