public interface QilletniStackTraceElement
Represents a single function call or otherwise significant flow change in a Qilletni program.
-
Method Summary
Modifier and TypeMethodDescriptionGets the string representation of the stack trace element, to be displayed in a stack trace.intGets the 1-indexed column in the line that the function call happened in.Gets the .ql file the function call happened in.Gets the library the function call happened in.intgetLine()Gets the 1-indexed line in the source .ql that the function call happened in.Gets the name of the function that was called.booleanIf this represents a change to a background task being executed viaBackgroundTaskExecutor.
-
Method Details
-
getLibrary
-
getFileName
-
getMethodName
-
getLine
int getLine()Gets the 1-indexed line in the source .ql that the function call happened in.- Returns:
- The 1-indexed line the call happened in
-
getColumn
int getColumn()Gets the 1-indexed column in the line that the function call happened in.- Returns:
- The 1-indexed line the call happened in
-
isBackgroundTask
boolean isBackgroundTask()If this represents a change to a background task being executed viaBackgroundTaskExecutor. No other fields will be filled out/valid if this is true.- Returns:
- If this switches to a background task
-
displayString
String displayString()Gets the string representation of the stack trace element, to be displayed in a stack trace.- Returns:
- The string to display
-