Lines Matching defs:Literal
120 fn push_negative_literal(mut vec: RcVecMut<TokenTree>, mut literal: Literal) { in push_token_from_proc_macro()
922 pub(crate) struct Literal { struct
929 pub(crate) fn $name(n: $kind) -> Literal { argument
943 impl Literal { impl
1018 pub(crate) fn f32_unsuffixed(f: f32) -> Literal { in f32_unsuffixed()
1026 pub(crate) fn f64_unsuffixed(f: f64) -> Literal { in f64_unsuffixed()
1034 pub(crate) fn string(string: &str) -> Literal { in string() method
1042 pub(crate) fn character(ch: char) -> Literal { in character()
1055 pub(crate) fn byte_character(byte: u8) -> Literal { in byte_character()
1074 pub(crate) fn byte_string(bytes: &[u8]) -> Literal { in byte_string()
1100 pub(crate) fn c_string(string: &CStr) -> Literal { in c_string()
1178 impl Display for Literal { implementation
1184 impl Debug for Literal { implementation
1253 impl FromStr2 for proc_macro::Literal { implementation