yex.document.Callframe
yex.document.Callframe(callee, args, location)
#
Description of a macro call.
Only used for tracebacks; the macros take care of themselves. Stored in the list Document.call_stack.
Attributes:
| Name | Type | Description |
|---|---|---|
callee |
`Token`
|
the name of the macro that made the call. |
args |
list of lists of `Token`
|
the arguments to the call. |
location |
`yex.parse.Location`
|
where the call was made (as a named tuple of filename, line, and column). |
Source code in yex/document/callframe.py
18 19 20 21 22 23 24 25 | |