Searched refs:LitStr (Results 1 – 4 of 4) sorted by relevance
| /wasmtime-44.0.1/crates/component-macro/src/ |
| H A D | bindgen.rs | 173 paths.push(input.parse::<syn::LitStr>()?.value()); in parse() 274 World(syn::LitStr), 275 Path(Vec<syn::LitStr>), 276 Inline(syn::LitStr), 279 Interfaces(syn::LitStr), 304 let mut paths: Vec<syn::LitStr> = vec![]; in parse() 307 if l.peek(syn::LitStr) { in parse() 377 Ok(Opt::Interfaces(input.parse::<syn::LitStr>()?)) in parse() 438 let wit_path = input.parse::<syn::LitStr>()?.value(); in trappable_error_field_parse() 448 let interface = input.parse::<syn::LitStr>()?.value(); in with_field_parse() [all …]
|
| H A D | component.rs | 68 fn find_rename(attributes: &[syn::Attribute]) -> Result<Option<syn::LitStr>> { in find_rename() argument 78 parser.parse::<syn::LitStr>() in find_rename() 936 syn::LitStr::new(&ident.to_string(), ident.span()) in expand_record() 968 let name = rename.unwrap_or_else(|| syn::LitStr::new(&ident.to_string(), ident.span())); in expand_variant() 1060 let name = rename.unwrap_or_else(|| syn::LitStr::new(&ident.to_string(), ident.span())); in expand_enum()
|
| /wasmtime-44.0.1/crates/versioned-export-macros/src/ |
| H A D | lib.rs | 20 fn versioned_lit_str(value: impl std::fmt::Display) -> syn::LitStr { in versioned_lit_str() argument 21 syn::LitStr::new(version(value).as_str(), proc_macro2::Span::call_site()) in versioned_lit_str()
|
| /wasmtime-44.0.1/crates/wiggle/generate/src/ |
| H A D | config.rs | 5 Error, Ident, LitStr, Result, Token, braced, bracketed, 248 let path_lits: Punctuated<LitStr, Token![,]> = in parse() 274 Ok(Self(input.parse::<syn::LitStr>()?.value())) in parse()
|