Searched refs:from_ast (Results 1 - 7 of 7) sorted by relevance
/third_party/rust/crates/serde/serde_derive_internals/src/ |
H A D | ast.rs | 61 pub fn from_ast( in from_ast() functions 66 let mut attrs = attr::Container::from_ast(cx, item); in from_ast() 147 let attrs = attr::Variant::from_ast(cx, variant); in enum_from_ast() 211 attrs: attr::Field::from_ast(cx, i, field, attrs, container_default), in fields_from_ast()
|
H A D | attr.rs | 14 // are `attr::Container::from_ast`, `attr::Variant::from_ast`, and 15 // `attr::Field::from_ast`. Each returns an instance of the corresponding 287 pub fn from_ast(cx: &Ctxt, item: &syn::DeriveInput) -> Self { in from_ast() functions 812 pub fn from_ast(cx: &Ctxt, variant: &syn::Variant) -> Self { in from_ast() functions 1071 pub fn from_ast( in from_ast() functions
|
/third_party/rust/crates/serde/serde_derive/src/internals/ |
H A D | ast.rs | 61 pub fn from_ast( in from_ast() functions 66 let mut attrs = attr::Container::from_ast(cx, item); in from_ast() 147 let attrs = attr::Variant::from_ast(cx, variant); in enum_from_ast() 211 attrs: attr::Field::from_ast(cx, i, field, attrs, container_default), in fields_from_ast()
|
H A D | attr.rs | 14 // are `attr::Container::from_ast`, `attr::Variant::from_ast`, and 15 // `attr::Field::from_ast`. Each returns an instance of the corresponding 287 pub fn from_ast(cx: &Ctxt, item: &syn::DeriveInput) -> Self { in from_ast() functions 812 pub fn from_ast(cx: &Ctxt, variant: &syn::Variant) -> Self { in from_ast() functions 1071 pub fn from_ast( in from_ast() functions
|
/third_party/rust/crates/serde/serde_derive/src/ |
H A D | ser.rs | 14 let cont = match Container::from_ast(&ctxt, input, Derive::Serialize) { in expand_derive_serialize()
|
H A D | de.rs | 17 let cont = match Container::from_ast(&ctxt, input, Derive::Deserialize) { in expand_derive_deserialize()
|
/third_party/rust/crates/regex/regex-syntax/src/hir/ |
H A D | translate.rs | 624 let mut new_flags = Flags::from_ast(ast_flags); in set_flags() 1018 fn from_ast(ast: &ast::Flags) -> Flags { in from_ast() functions
|
Completed in 15 milliseconds