Package org.mozilla.javascript
Class ScriptStackElement
java.lang.Object
org.mozilla.javascript.ScriptStackElement
- All Implemented Interfaces:
Serializable
This class represents an element on the script execution stack.
- Since:
- 1.7R3
- Author:
- Hannes Wallnoefer
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Render stack element in Java-inspired style:at fileName:lineNumber (functionName)
void
Render stack element in Mozilla/Firefox style:functionName()@fileName:lineNumber
void
Render stack element in V8 style:at functionName (fileName:lineNumber:columnNumber)
or:at fileName:lineNumber:columnNumber
toString()
-
Field Details
-
fileName
-
functionName
-
lineNumber
public final int lineNumber
-
-
Constructor Details
-
ScriptStackElement
-
-
Method Details
-
toString
-
renderJavaStyle
Render stack element in Java-inspired style:at fileName:lineNumber (functionName)
- Parameters:
sb
- the StringBuilder to append to
-
renderMozillaStyle
Render stack element in Mozilla/Firefox style:functionName()@fileName:lineNumber
- Parameters:
sb
- the StringBuilder to append to
-
renderV8Style
Render stack element in V8 style:at functionName (fileName:lineNumber:columnNumber)
or:at fileName:lineNumber:columnNumber
- Parameters:
sb
- the StringBuilder to append to
-