Package com.google.javascript.rhino
Class Node.SideEffectFlags
java.lang.Object
com.google.javascript.rhino.Node.SideEffectFlags
- Enclosing class:
Node
A helper class for getting and setting invocation side-effect flags.
The following values are of interest:
- Is global state mutated? (
MUTATES_GLOBAL_STATE
) - Is the receiver (`this`) mutated? (
MUTATES_THIS
) - Are any arguments mutated? (
MUTATES_ARGUMENTS
) - Does the call throw an error? (
THROWS
)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MUTATES_GLOBAL_STATE
public static final int MUTATES_GLOBAL_STATE- See Also:
-
MUTATES_THIS
public static final int MUTATES_THIS- See Also:
-
MUTATES_ARGUMENTS
public static final int MUTATES_ARGUMENTS- See Also:
-
THROWS
public static final int THROWS- See Also:
-
NO_SIDE_EFFECTS
public static final int NO_SIDE_EFFECTS- See Also:
-
ALL_SIDE_EFFECTS
public static final int ALL_SIDE_EFFECTS- See Also:
-
-
Constructor Details
-
SideEffectFlags
public SideEffectFlags() -
SideEffectFlags
public SideEffectFlags(int value)
-
-
Method Details