Searched refs:LitFloat (Results 1 – 10 of 10) sorted by relevance
/external/rust/crates/syn/tests/ |
D | test_lit.rs | 10 use syn::{Lit, LitFloat, LitInt, LitStr}; 213 assert_eq!("-1.5", LitFloat::new("-1.5", span).to_string()); in negative() 214 assert_eq!("-1.5f32", LitFloat::new("-1.5f32", span).to_string()); in negative() 215 assert_eq!("-1.5f64", LitFloat::new("-1.5f64", span).to_string()); in negative()
|
/external/rust/crates/syn/src/ |
D | lit.rs | 41 Float(LitFloat), 101 pub struct LitFloat { 453 impl LitFloat { impl 466 LitFloat { in new() 506 impl From<Literal> for LitFloat { implementation 510 LitFloat { in from() 523 impl Display for LitFloat { implementation 608 impl Debug for LitFloat { implementation 708 lit_extra_traits!(LitFloat); 805 Lit::Float(LitFloat { in parse_negative_lit() [all …]
|
D | token.rs | 99 use crate::lit::{Lit, LitBool, LitByte, LitByteStr, LitChar, LitFloat, LitInt, LitStr}; 193 impl_token!("floating point literal" LitFloat);
|
D | lib.rs | 381 Lit, LitBool, LitByte, LitByteStr, LitChar, LitFloat, LitInt, LitStr, StrStyle,
|
D | expr.rs | 1611 let float_token: Option<LitFloat> = input.parse()?; in trailer_helper() 1684 let float_token: Option<LitFloat> = input.parse()?; in trailer_expr() 2897 fn multi_index(e: &mut Expr, dot_token: &mut Token![.], float: LitFloat) -> Result<bool> { in multi_index()
|
/external/rust/crates/syn/src/gen/ |
D | fold.rs | 455 fn fold_lit_float(&mut self, i: LitFloat) -> LitFloat { in fold_lit_float() argument 2321 pub fn fold_lit_float<F>(f: &mut F, node: LitFloat) -> LitFloat in fold_lit_float()
|
D | visit_mut.rs | 455 fn visit_lit_float_mut(&mut self, i: &mut LitFloat) { in visit_lit_float_mut() argument 2595 pub fn visit_lit_float_mut<V>(v: &mut V, node: &mut LitFloat) in visit_lit_float_mut()
|
D | visit.rs | 454 fn visit_lit_float(&mut self, i: &'ast LitFloat) { in visit_lit_float() argument 2595 pub fn visit_lit_float<'ast, V>(v: &mut V, node: &'ast LitFloat) in visit_lit_float()
|
D | eq.rs | 1276 impl Eq for LitFloat {} implementation
|
/external/rust/crates/syn/tests/debug/ |
D | gen.rs | 3476 impl Debug for Lite<syn::LitFloat> {
|