Cast¶
Usage
use Cast;
or
import Cast;
- const castLogger = new Logger(logLevel)¶
- proc castGenSymEntryToString(gse: borrowed GenSymEntry, st: borrowed SymTab, type fromType) : MsgTuple throws¶
- enum ErrorMode { strict, ignore, return_validity }¶
- enum constant strict¶
- enum constant ignore¶
- enum constant return_validity¶
- proc stringToNumericStrict(ref values, rng, type toType) : toType throws¶
- proc stringToNumericIgnore(ref values, rng, type toType) : toType¶
- proc stringToNumericReturnValidity(ref values, rng, type toType) : (toType, bool)¶
- proc castStringToSymEntry(s: SegString, st: borrowed SymTab, type toType, errors: ErrorMode) : string throws¶
- proc castStringToBigInt(s: SegString, st: borrowed SymTab, errors: ErrorMode) : string throws¶