Home
last modified time | relevance | path

Searched defs:Literal (Results 1 – 11 of 11) sorted by relevance

/linux/rust/proc-macro2/
H A Dlib.rs547 Literal(Literal), enumerator
1063 pub struct Literal { struct
1064 inner: imp::Literal, argument
1081 pub fn $name(n: $kind) -> Literal { argument
1108 impl Literal { implementation
1166 pub fn f64_unsuffixed(f: f64) -> Literal { in f64_unsuffixed()
1184 pub fn f64_suffixed(f: f64) -> Literal { in f64_suffixed()
1202 pub fn f32_unsuffixed(f: f32) -> Literal { in f32_unsuffixed()
1220 pub fn f32_suffixed(f: f32) -> Literal { in f32_suffixed()
1226 pub fn string(string: &str) -> Literal { in string() method
[all …]
H A Dwrapper.rs760 pub(crate) enum Literal { enum
789 impl Literal { impl
841 pub(crate) fn f32_unsuffixed(f: f32) -> Literal { in f32_unsuffixed()
849 pub(crate) fn f64_unsuffixed(f: f64) -> Literal { in f64_unsuffixed()
857 pub(crate) fn string(string: &str) -> Literal { in string() method
865 pub(crate) fn character(ch: char) -> Literal { in character()
873 pub(crate) fn byte_character(byte: u8) -> Literal { in byte_character()
892 pub(crate) fn byte_string(bytes: &[u8]) -> Literal { in byte_string()
900 pub(crate) fn c_string(string: &CStr) -> Literal { in c_string()
945 fn unwrap_nightly(self) -> proc_macro::Literal { in unwrap_nightly()
[all …]
H A Dfallback.rs120 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()
[all …]
H A Dparse.rs339 pub(crate) fn literal(input: Cursor) -> PResult<Literal> { in literal()
/linux/rust/proc-macro2/probe/
H A Dproc_macro_span.rs47 pub fn subspan<R: RangeBounds<usize>>(this: &Literal, range: R) -> Option<Span> { in subspan()
/linux/rust/syn/
H A Dlit.rs270 pub fn token(&self) -> Literal { in token()
305 pub fn token(&self) -> Literal { in token()
340 pub fn token(&self) -> Literal { in token()
375 pub fn token(&self) -> Literal { in token()
410 pub fn token(&self) -> Literal { in token()
481 pub fn token(&self) -> Literal { in token()
553 pub fn token(&self) -> Literal { in token()
H A Dbuffer.rs25 Literal(Literal), enumerator
213 pub fn literal(mut self) -> Option<(Literal, Cursor<'a>)> { in literal()
H A Dparse.rs1227 impl Parse for Literal { implementation
/linux/rust/quote/
H A Dto_tokens.rs253 impl ToTokens for Literal { implementation
/linux/tools/verification/rvgen/rvgen/
H A Dltl2ba.py402 class Literal: class
/linux/tools/perf/pmu-events/
H A Dmetric.py368 class Literal(Expression): class