Package org.mozilla.javascript
Class ScriptRuntime.StringIdOrIndex
java.lang.Object
org.mozilla.javascript.ScriptRuntime.StringIdOrIndex
- Enclosing class:
ScriptRuntime
Helper to return a string or an integer. Always use a null check on s.stringId to determine
if the result is string or integer.
- See Also:
-
Method Summary
-
Method Details
-
getStringId
-
getIndex
public int getIndex()
-