Home
last modified time | relevance | path

Searched refs:IdentifierParser (Results 1 - 3 of 3) sorted by relevance

/third_party/rust/crates/rust-cexpr/src/
H A Dexpr.rs20 //! Use the `IdentifierParser` to substitute identifiers found in expressions.
40 pub struct IdentifierParser<'ident> { structure names
44 struct PRef<'a>(&'a IdentifierParser<'a>);
491 type Target = IdentifierParser<'a>; in macro_definition()
492 fn deref(&self) -> &IdentifierParser<'a> { in macro_definition()
497 impl<'ident> IdentifierParser<'ident> { impls
502 /// Create a new `IdentifierParser` with a set of known identifiers. When in as_ref()
505 pub fn new(identifiers: &HashMap<Vec<u8>, EvalResult>) -> IdentifierParser<'_> { in as_ref()
506 IdentifierParser { identifiers } in as_ref()
547 IdentifierParser in expr()
[all...]
/third_party/rust/crates/rust-cexpr/tests/
H A Dclang.rs17 use cexpr::expr::{fn_macro_declaration, EvalResult, IdentifierParser};
130 assert_full_parse(IdentifierParser::new(&fnidents).expr(&expr_tokens)) in test_definition()
132 IdentifierParser::new(idents) in test_definition()
/third_party/rust/crates/bindgen/bindgen/ir/
H A Dvar.rs384 let parser = expr::IdentifierParser::new(ctx.parsed_macros()); in parse_macro()

Completed in 3 milliseconds