summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/readable-stream/node_modules/unreachable-branch-transform/node_modules/esmangle-evaluator/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/readable-stream/node_modules/unreachable-branch-transform/node_modules/esmangle-evaluator/README.md')
-rw-r--r--deps/npm/node_modules/readable-stream/node_modules/unreachable-branch-transform/node_modules/esmangle-evaluator/README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/deps/npm/node_modules/readable-stream/node_modules/unreachable-branch-transform/node_modules/esmangle-evaluator/README.md b/deps/npm/node_modules/readable-stream/node_modules/unreachable-branch-transform/node_modules/esmangle-evaluator/README.md
new file mode 100644
index 0000000000..feb55dbb01
--- /dev/null
+++ b/deps/npm/node_modules/readable-stream/node_modules/unreachable-branch-transform/node_modules/esmangle-evaluator/README.md
@@ -0,0 +1,24 @@
+esmangle-evaluator
+==================
+
+[`esmangle`](https://github.com/estools/esmangle)'s `evaluator.js` as a standalone module.
+
+`evaluator.js` is an unmodified copy of the [original](https://github.com/Constellation/esmangle/blob/7e4ee597/lib/evaluator.js).
+
+`common.js` is a stub of the [original](https://github.com/Constellation/esmangle/blob/7e4ee597/lib/common.js) with a few helpers/constants required by `evaluator.js`.
+
+## Exports
+
+```js
+{
+ constant: {
+ doBinary: [Function: doBinary],
+ doUnary: [Function: doUnary],
+ doLogical: [Function: doLogical],
+ evaluate: [Function: getConstant],
+ isConstant: [Function: isConstant]
+ },
+ hasSideEffect: [Function: hasSideEffect],
+ booleanCondition: [Function: booleanCondition]
+}
+```