| Method | Defined By | ||
|---|---|---|---|
debugId(object:Object):String [static]
This function generates or returns a previously generated identifier for an object. | DebugUtils | ||
debugLookup(debugId:*):Object [static]
This function will look up the object corresponding to the specified debugId. | DebugUtils | ||
debugTrace(... args):void [static]
This function calls trace() using debugId() on each parameter. | DebugUtils | ||
flattenSessionState(state:Object, pathPrefix:Array = null, output:Array = null):Array [static]
| DebugUtils | ||
getAllDebugIds():Array [static] | DebugUtils | ||
replaceUnknownObjectsInState(stateToModify:Object, className:String = null):Object [static] | DebugUtils | ||
resetDebugIds():void [static]
This will clear all saved ids and pointers to corresponding objects. | DebugUtils | ||
shiftKey(reactInstance:Object):Boolean [static] | DebugUtils | ||
traverseStatePath(state:Object, path:Array):* [static]
Traverses a path in a session state using the logic used by SessionManager. | DebugUtils | ||
unwatch(target:ILinkableObject):void [static] | DebugUtils | ||
watch(target:ILinkableObject = null, callbackReturnsString:Function = null):void [static] | DebugUtils | ||
watchState(target:ILinkableObject = null, indent:* = null):void [static] | DebugUtils | ||
| debugId | () | method |
public static function debugId(object:Object):StringThis function generates or returns a previously generated identifier for an object.
Parameters
object:Object |
String |
| debugLookup | () | method |
public static function debugLookup(debugId:*):ObjectThis function will look up the object corresponding to the specified debugId.
Parameters
debugId:* (default = NaN) — A debugId String or integer.
|
Object |
| debugTrace | () | method |
public static function debugTrace(... args):voidThis function calls trace() using debugId() on each parameter.
Parameters
... args |
| flattenSessionState | () | method |
public static function flattenSessionState(state:Object, pathPrefix:Array = null, output:Array = null):Array
Parameters
state:Object — A session state.
| |
pathPrefix:Array (default = null) | |
output:Array (default = null) |
Array — An Array of Arrays, each like [path, value].
|
| getAllDebugIds | () | method |
public static function getAllDebugIds():ArrayReturnsArray |
| replaceUnknownObjectsInState | () | method |
public static function replaceUnknownObjectsInState(stateToModify:Object, className:String = null):ObjectParameters
stateToModify:Object | |
className:String (default = null) |
Object |
| resetDebugIds | () | method |
public static function resetDebugIds():voidThis will clear all saved ids and pointers to corresponding objects.
| shiftKey | () | method |
public static function shiftKey(reactInstance:Object):BooleanParameters
reactInstance:Object |
Boolean |
| traverseStatePath | () | method |
public static function traverseStatePath(state:Object, path:Array):*Traverses a path in a session state using the logic used by SessionManager.
Parameters
state:Object — A full session state.
| |
path:Array — A path.
|
* — The session state at the specified path.
|
| unwatch | () | method |
| watch | () | method |
public static function watch(target:ILinkableObject = null, callbackReturnsString:Function = null):voidParameters
target:ILinkableObject (default = null) | |
callbackReturnsString:Function (default = null) |
| watchState | () | method |
public static function watchState(target:ILinkableObject = null, indent:* = null):voidParameters
target:ILinkableObject (default = null) | |
indent:* (default = null) |