TypeRef::src
pub fn src() -> string Import
Source: use macro::{TypeRef}; compiler/src/prelude/macro.hy No documentation yet.
Called on a TypeRef value as value.src(…).
Returns#
string
See also#
TypeRef: A type annotation as written (not resolved):Vec<int>,json::Value.TypeRef::str: The whole annotation, e.g.TypeRef::head: The type constructor, e.g.TypeRef::args: Generic arguments, e.g.