Module ExprHasNoEffect
Provides classes and predicates for the ‘js/useless-expression’ query.
Import path
import Expressions.ExprHasNoEffect
Imports
DOMProperties | Provides predicates for working with the DOM type hierarchy. |
javascript | Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML. |
Predicates
hasNoEffect | Holds if the expression |
inVoidContext | Holds if |
isDeclaration | Holds if |
isGetterProperty | Holds if there exists a getter for a property called |
isIndirectEval | Holds if |
isReceiverSuppressingCall | Holds if |
noSideEffects | Holds if evaluating |
Classes
GetterPropertyAccess | A property access that may invoke a getter. |