Reader::variants
pub fn variants() -> Vec<Variant> Import
Source: use macro::{Reader}; compiler/src/prelude/macro.hy No documentation yet.
Called on a Reader value as value.variants(…).
Returns#
Vec<Variant>
See also#
Reader: Reads a macro call’s input: length-prefixed fields (<len>:<bytes>, lists as a count then their items) in constructor order, written by the compiler (macros::encode).Reader::overReader::str: One field.Reader::int: A field holding a decimal integer, possibly negative.Reader::boolReader::stringsReader::identReader::expr: A macro argument: kind, text, then its value (kind, text, exponent).