SiroccoPrivateImpl
Nest:
PROC [in:
ROPE, level:
NAT]
RETURNS [out:
ROPE];
Append newline and level tabs to in.
Sort:
PROC [list: CComponent]
RETURNS [comp: CComponent];
Sort (list of) CComponents by the .val field
MakeUpName: PROC [base: ROPE, suffix: ROPE, tables: TABLES]
RETURNS [madeUpName: ROPE];
MadeUpName: PROC [base: ROPE, suffix: ROPE]
RETURNS [madeUpName: ROPE];
UnDo:
PROC [in:
ROPE, programKey:
ROPE]
RETURNS [key:
ROPE];
Strip unnecessary qualification (by current program key) from beginning of in — e.g. UnDo["FooP1V2.Bar", "FooP1V2"] = "Bar".
UnDoable:
PROC [in:
ROPE, programKey:
ROPE]
RETURNS [out:
ROPE, yes:
BOOLEAN];
Like UnDo, also returns yes~TRUE iff qualification was deleted.
UMProcNameProc:
TYPE ~
PROC [h: Handle, type: CType, typeName:
ROPE]
RETURNS [procName:
ROPE];
Returns name of special (un)marshalling proc to be used, or NIL if none.
GetUProcName: UMProcNameProc;
GetMProcName: UMProcNameProc;
GenerateUMProcs: PROC [h: Handle, s: IO.STREAM, level: NAT];
Marshal: PROC [h: Handle, s: IO.STREAM, varName: ROPE, type: CType, typeName: ROPE, getProcName: UMProcNameProc, useProc: BOOL, level: NAT];
UnMarshal: PROC [h: Handle, s: IO.STREAM, varName: ROPE, type: CType, typeName: ROPE, getProcName: UMProcNameProc, useProc: BOOL, level: NAT];
ConstExp: PROC [h: Handle, const: ROPE, type: CType, typeName: ROPE, level: NAT]
RETURNS [constExp: ROPE, setup: LIST OF ROPE, runtime: BOOL];
TypeExp: PROC [h: Handle, type: CType, typeName: ROPE, level: NAT]
RETURNS [typeExp: ROPE, objTypeDecls: LIST OF ROPE];
FileHeader: PROC [out: IO.STREAM, filename: ROPE];