Lines Matching refs:repr
12 repr: Option<Atom>, field
30 pub fn new(repr: Option<Atom>) -> Self { in new()
32 repr, in new()
39 let (discriminant, repr) = expr_to_discriminant(expr)?; in insert()
40 match (self.repr, repr) { in insert()
54 self.repr = Some(new_repr); in insert()
56 (Some(prev), Some(repr)) if prev != repr => { in insert()
57 let msg = format!("expected {}, found {}", prev, repr); in insert()
90 if let Some(repr) = self.repr { in inferred_repr()
91 return Ok(repr); in inferred_repr()
100 return Ok(limits.repr); in inferred_repr()
113 let repr = parse_int_suffix(lit.suffix())?; in expr_to_discriminant() localVariable
114 return Ok((discriminant, repr)); in expr_to_discriminant()
119 let (mut discriminant, repr) = expr_to_discriminant(&unary.expr)?; in expr_to_discriminant()
124 return Ok((discriminant, repr)); in expr_to_discriminant()
136 if let Some(expected_repr) = set.repr { in insert()
279 repr: Atom, field
285 fn of(repr: Atom) -> Option<Limits> { in of()
287 if limits.repr == repr { in of()
297 repr: U8,
302 repr: I8,
307 repr: U16,
312 repr: I16,
317 repr: U32,
322 repr: I32,
327 repr: U64,
332 repr: I64,