@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
56 lines • 2.94 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.UserFunctions = exports.OptionsFunctions = exports.LangFunctions = exports.FfiFunctions = exports.SystemFunctions = exports.PureFunctions = void 0;
exports.PureFunctions = [
'paste', 'paste0', 'parse', '+', '-', '*',
'/', '^', '%%', '%/%', '&', '|', '!', '&&', '||',
'<', '>', '<=', '>=', '==', '!=', ':',
'abs', 'sign', 'sqrt', 'exp', 'log', 'log10', 'log2',
'sin', 'cos', 'tan', 'asin', 'acos', 'atan',
'length', 'nchar', 'dim', 'nrow', 'ncol',
'c', 'list', 'data.frame',
'ifelse', 'switch', 'factor', 'as.factor',
'round', 'floor', 'ceiling', 'trunc',
'substr', 'substring', 'strsplit',
'min', 'max', 'range', 'sum', 'prod', 'mean', 'median', 'var', 'sd',
'head', 'tail', 'seq', 'rep',
'apply', 'lapply', 'sapply', 'vapply', 'tapply',
'matrix', 'array',
'rownames', 'colnames',
'list.files', 'tolower', 'toupper', 'printf',
'<-', '->', '=', '<<-', '->>', 'assign', 'get',
'[', '[[', '$', 'length<-', 'dim<-', 'names<-', 'colnames<-', 'rownames<-',
'as.character', 'as.numeric', 'as.logical', 'as.raw', 'as.list', 'as.data.frame', 'as.matrix', 'as.array',
'identity', 'invisible', 'return', 'force', 'missing',
'print', 'cat', 'message', 'warning', 'stop',
'format', 'sprintf', 'formatC',
'is.na', 'is.null', 'is.numeric', 'is.character',
'which', 'match', 'order', 'sort', 'unique', 'duplicated', 'na.omit',
'grep', 'grepl', 'sub', 'gsub', 'regexpr', 'gregexpr', 'regexec', 'regmatches',
'as.integer', 'as.double', 'as.complex',
'trimws', 'seq_len', 'seq_along', 'rep.int',
'pmin', 'pmax', 'cumsum', 'cumprod', 'cummax', 'cummin', 'diff', 'signif',
'table', 'prop.table', 'xtabs',
'rbind', 'cbind', 't', 'crossprod', 'tcrossprod',
'colSums', 'rowSums', 'colMeans', 'rowMeans',
'solve', 'det', 'eigen',
'is.factor', 'is.logical', 'is.vector', 'is.matrix', 'is.data.frame',
];
exports.SystemFunctions = ['system', 'system2', 'pipe', 'shell', 'shell.exec'];
exports.FfiFunctions = ['.C', '.Call', '.Fortran', '.External', 'dyn.load', 'sourceCpp', 'getNativeSymbolInfo'];
exports.LangFunctions = [
'substitute', 'quote', 'enquote', 'bquote',
'call', 'as.call', 'expression', 'as.expression', // 'str2lang', 'str2expression',
'as.name', 'as.symbol', 'alist', 'as.language', 'evalq',
'expr', 'exprs', 'enexpr', 'enexprs', 'inject',
'quo', 'quos', 'enquo', 'enquos', 'enquo0', 'enquos0',
'sym', 'syms', 'ensym', 'ensyms'
];
exports.OptionsFunctions = ['options', 'getOption', 'Sys.getenv'];
exports.UserFunctions = [
'readline', 'scan', 'askYesNo',
'file.choose', 'choose.files', 'choose.dir', 'menu', 'select.list', 'winDialogString', 'winDialog',
'showPrompt', 'askForPassword', 'selectDirectory', 'selectFile',
'dlgInput', 'dlgOpen',
];
//# sourceMappingURL=input-source-functions.js.map