Qore Mapper Module Reference
1.4.1
|
describes a runtime type More...
Public Attributes | |
*hash< string, bool > | conflicting_keys |
hash of conflicting keys, if any | |
code | handler |
the code to handle the key at runtime More... | |
bool | requires_input = False |
if the key requires in input field for the mapping | |
string | value_type = "string" |
the type of value that must be assigned to this key | |
describes a runtime type
code Mapper::MapperRuntimeKeyInfo::handler |
the code to handle the key at runtime
the signature of this closure or call reference depends on requires_input:
auto sub (auto arg, auto val) {}
arg:
the argument to the runtime key in the mappingval:
the current value of the mapping, if anyauto sub (auto arg) {}
arg:
the argument to the runtime key in the mappingIn both cases the return value is the value to use for the field