Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Node,PureFunctionIdentifier.FunctionInformation> |
PureFunctionIdentifier.functionSideEffectMap |
Modifier and Type | Method and Description |
---|---|
boolean |
PureFunctionIdentifier.SideEffectPropagationCallback.traverseEdge(PureFunctionIdentifier.FunctionInformation callee,
Node callSite,
PureFunctionIdentifier.FunctionInformation caller) |
private void |
PureFunctionIdentifier.FunctionAnalyzer.visitAssignmentOrUnaryOperator(PureFunctionIdentifier.FunctionInformation sideEffectInfo,
Scope scope,
Node op,
Node lhs,
Node rhs)
Record information about the side effects caused by an
assignment or mutating unary operator.
|
private void |
PureFunctionIdentifier.FunctionAnalyzer.visitCall(PureFunctionIdentifier.FunctionInformation sideEffectInfo,
Node node)
Record information about a call site.
|
private void |
PureFunctionIdentifier.FunctionAnalyzer.visitThrow(PureFunctionIdentifier.FunctionInformation sideEffectInfo)
Record that the enclosing function throws.
|