PendingReference#

Qualified name: rsm.nodes.PendingReference

class rsm.nodes.PendingReference(target='', **kwargs)[source]#

Bases: BaseReference

Methods

Attributes

external_file

Extract external file path from target, or None if internal reference.

target_label

Extract label from target.

nodeid

Node id - always exists (unlike label), automatically assigned, unique within the tree.

label

Unique identifier.

classes

CSS classes for this node.

handrail_depth

The number of ancestors of this node that have a handrail.

number

Node number.

nonum

Whether this node should be automatically given a number.

reftext_template

Reftext template, or "" to use classreftext.

start_point

The start point of the corresponding concrete syntax tree node.

end_point

The end point of the corresponding concrete syntax tree node.

property external_file: str | None[source]#

Extract external file path from target, or None if internal reference.

property target_label: str[source]#

Extract label from target.