Class in macro compiler

Ident

class Ident
Import
use macro::{Ident};
Source: compiler/src/prelude/macro.hy

A name as written in source.

Fields#

FieldTypeDescription
namestring

Methods#

NameDescription
str
src

See also#

  • Code: Generated coil source: declarations, an expression, statements or a type.
  • Expr: A function-style macro argument as written: f(1), a + b, "text".
  • TypeRef: A type annotation as written (not resolved): Vec<int>, json::Value.
  • AttrArg: One key = value (or positional value, with key == "") attribute argument.
  • Attr: #[name(args)] on a declaration, field or variant.
  • Field: A class field, or a field of a record enum variant.
  • Variant: One enum variant.
  • TypeDecl: A class or enum declaration handed to a derive or attribute macro.
↑ ↓ navigate ↵ open