class Asciidoctor::Inline

def reftext

(see AbstractNode#reftext)

For a reference node (:ref or :bibref), the text is the reftext (and the reftext attribute is not set).
def reftext
  (val = @text) ? (apply_reftext_subs val) : nil
end