|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.javascript.rhino.Node.SideEffectFlags
public static class Node.SideEffectFlags
A helper class for getting and setting the side-effect flags.
| Constructor Summary | |
|---|---|
Node.SideEffectFlags()
|
|
Node.SideEffectFlags(int value)
|
|
| Method Summary | |
|---|---|
boolean |
areAllFlagsSet()
|
void |
clearAllFlags()
No side-effects occur and the returned results are local. |
void |
clearSideEffectFlags()
Preserve the return result flag, but clear the others: no global state change, no throws, no this change, no arguments change |
void |
setAllFlags()
All side-effect occur and the returned results are non-local. |
void |
setMutatesArguments()
|
void |
setMutatesGlobalState()
|
void |
setMutatesThis()
|
void |
setReturnsTainted()
|
void |
setThrows()
|
int |
valueOf()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Node.SideEffectFlags()
public Node.SideEffectFlags(int value)
| Method Detail |
|---|
public int valueOf()
public void setAllFlags()
public void clearAllFlags()
public boolean areAllFlagsSet()
public void clearSideEffectFlags()
public void setMutatesGlobalState()
public void setThrows()
public void setMutatesThis()
public void setMutatesArguments()
public void setReturnsTainted()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||