These functions provide some tools for analysing R code. Mainly intended to support the other tools in this package and byte code compilation.
collectLocals(e, collect) 
collectUsage(fun, name = "", ...) 
constantFold(e, env = NULL, fail = NULL) 
findFuncLocals(formals, body) 
findLocals(e, envir = .BaseEnv) 
findLocalsList(elist, envir = .BaseEnv)
flattenAssignment(e) 
getAssignedVar(e) 
isConstantValue(v, w) 
makeCodeWalker(..., handler, call, leaf) 
makeConstantFolder(..., leaf, handler, call, exit, isLocal, foldable,
                   isConstant, signal)
makeLocalsCollector(..., leaf, handler, isLocal, exit, collect) 
makeUsageCollector(fun, ..., name, enterLocal, enterGlobal, enterInternal,
                   startCollectLocals, finishCollectLocals, warn,
                   signal)
walkCode(e, w = makeCodeWalker()) 
R expression.
list of R expressions.
R object.
closure.
formal arguments of a closure.
body of a closure.
character.
character.
environment.
code walker.
extra elements for code walker.
function.
function.
function.
function.
function.
function.
function.
function.
function.
function.
function.
function.
function.
function.
function.
function.
Luke Tierney