The top of a typical SpacException's spacTrace, representing whichever raw input caused the parser to throw. If the input is an instance of HasLocation, the location will be displayed as part of the render of this element. XmlEvent and JsonEvent (from xml-spac and json-spac respectively) both extend HasLocation,
Create a StackTraceElement, abusing the className/methodName/fileName arguments such that the created StackTraceElement's toString returns something similar to the render method.
Create a StackTraceElement, abusing the className/methodName/fileName arguments such that the created StackTraceElement's toString returns something similar to the render method.
The general pattern is that SpacTraceElements that include CallerPos arguments will use either parser or client as the "className" and provide a real fileName and line number. Input-related events will use "input" as the "className" and "data source" as the fileName.
Attributes
Returns
A StackTraceElement that resembles this SpacTraceElement's render output