Internal function, used during simInit()
.
.parseModulePartial(sim, modules, filename, defineModuleElement, envir = NULL)# S4 method for missing,missing,character,character
.parseModulePartial(filename, defineModuleElement, envir)
# S4 method for simList,list,missing,character
.parseModulePartial(sim, modules, defineModuleElement, envir = NULL)
.parseModule(
sim,
modules,
userSuppliedObjNames = NULL,
envir = NULL,
notOlderThan,
...
)
# S4 method for simList,list
.parseModule(
sim,
modules,
userSuppliedObjNames = NULL,
envir = NULL,
notOlderThan,
...
)
.parseModulePartial
extracts just the individual element
requested from the module. This can be useful if parsing the whole module
would cause an error.
A simList
simulation object.
A simList
simulation object.
A list of modules with a logical attribute "parsed".
The filename of the module to be parsed.
Character string indicating which of the list
elements in defineModule
should be extracted
Optional environment in which to store parsed code. This may be
useful if the same file is being parsed multiple times. This
function will check in that environment for the parsed file before
parsing again. If the envir
is transient, then this will have no effect.
Character string (or NULL
, the default)
indicating the names of objects that user has passed
into simInit
via objects or inputs.
If all module inputObject
dependencies are provided by user,
then the .inputObjects
code will be skipped.
Passed to Cache
that may be used for .inputObjects
function call.
All simInit
parameters.
Eliot McIntire
Alex Chubaty and Eliot McIntire