Method in macro · Expr compiler

Expr::int

pub fn int() -> Option<int>
Import
use macro::{Expr};
Source: compiler/src/prelude/macro.hy

The argument’s value when it is an integer constant: 3, -2, 2 * 21. Names are not looked up (macros run before typechecking).

Called on a Expr value as value.int(…).

Returns#

Option<int>

See also#

↑ ↓ navigate ↵ open