/third_party/rust/crates/cxx/gen/lib/src/syntax/ |
H A D | cfg.rs | 7 pub enum CfgExpr { enum 10 All(Vec<CfgExpr>), 11 Any(Vec<CfgExpr>), 12 Not(Box<CfgExpr>), 15 impl CfgExpr { impls 16 pub fn merge(&mut self, expr: CfgExpr) { in merge() 17 if let CfgExpr::Unconditional = self { in merge() 19 } else if let CfgExpr::All(list) = self { in merge() 22 let prev = mem::replace(self, CfgExpr::Unconditional); in merge() 23 *self = CfgExpr in merge() [all...] |
H A D | mod.rs | 34 use self::cfg::CfgExpr; 64 pub cfg: CfgExpr, 81 pub cfg: CfgExpr, 97 pub cfg: CfgExpr, 110 pub cfg: CfgExpr, 138 pub cfg: CfgExpr, 150 pub cfg: CfgExpr, 164 pub cfg: CfgExpr, 195 pub cfg: CfgExpr, 218 pub cfg: CfgExpr, [all...] |
H A D | attrs.rs | 1 use crate::syntax::cfg::CfgExpr; 31 pub cfg: Option<&'a mut CfgExpr>,
|
H A D | file.rs | 1 use crate::syntax::cfg::CfgExpr; 11 pub cfg: CfgExpr, 41 let cfg = CfgExpr::Unconditional; in parse()
|
/third_party/rust/crates/cxx/syntax/ |
H A D | cfg.rs | 7 pub enum CfgExpr { enum 10 All(Vec<CfgExpr>), 11 Any(Vec<CfgExpr>), 12 Not(Box<CfgExpr>), 15 impl CfgExpr { impls 16 pub fn merge(&mut self, expr: CfgExpr) { in merge() 17 if let CfgExpr::Unconditional = self { in merge() 19 } else if let CfgExpr::All(list) = self { in merge() 22 let prev = mem::replace(self, CfgExpr::Unconditional); in merge() 23 *self = CfgExpr in merge() [all...] |
H A D | mod.rs | 34 use self::cfg::CfgExpr; 64 pub cfg: CfgExpr, 81 pub cfg: CfgExpr, 97 pub cfg: CfgExpr, 110 pub cfg: CfgExpr, 138 pub cfg: CfgExpr, 150 pub cfg: CfgExpr, 164 pub cfg: CfgExpr, 195 pub cfg: CfgExpr, 218 pub cfg: CfgExpr, [all...] |
H A D | attrs.rs | 1 use crate::syntax::cfg::CfgExpr; 31 pub cfg: Option<&'a mut CfgExpr>,
|
H A D | file.rs | 1 use crate::syntax::cfg::CfgExpr; 11 pub cfg: CfgExpr, 41 let cfg = CfgExpr::Unconditional; in parse()
|
/third_party/rust/crates/cxx/gen/cmd/src/syntax/ |
H A D | cfg.rs | 7 pub enum CfgExpr { enum 10 All(Vec<CfgExpr>), 11 Any(Vec<CfgExpr>), 12 Not(Box<CfgExpr>), 15 impl CfgExpr { impls 16 pub fn merge(&mut self, expr: CfgExpr) { in merge() 17 if let CfgExpr::Unconditional = self { in merge() 19 } else if let CfgExpr::All(list) = self { in merge() 22 let prev = mem::replace(self, CfgExpr::Unconditional); in merge() 23 *self = CfgExpr in merge() [all...] |
H A D | mod.rs | 34 use self::cfg::CfgExpr; 64 pub cfg: CfgExpr, 81 pub cfg: CfgExpr, 97 pub cfg: CfgExpr, 110 pub cfg: CfgExpr, 138 pub cfg: CfgExpr, 150 pub cfg: CfgExpr, 164 pub cfg: CfgExpr, 195 pub cfg: CfgExpr, 218 pub cfg: CfgExpr, [all...] |
H A D | attrs.rs | 1 use crate::syntax::cfg::CfgExpr; 31 pub cfg: Option<&'a mut CfgExpr>,
|
H A D | file.rs | 1 use crate::syntax::cfg::CfgExpr; 11 pub cfg: CfgExpr, 41 let cfg = CfgExpr::Unconditional; in parse()
|
/third_party/rust/crates/cxx/macro/src/syntax/ |
H A D | cfg.rs | 7 pub enum CfgExpr { enum 10 All(Vec<CfgExpr>), 11 Any(Vec<CfgExpr>), 12 Not(Box<CfgExpr>), 15 impl CfgExpr { impls 16 pub fn merge(&mut self, expr: CfgExpr) { in merge() 17 if let CfgExpr::Unconditional = self { in merge() 19 } else if let CfgExpr::All(list) = self { in merge() 22 let prev = mem::replace(self, CfgExpr::Unconditional); in merge() 23 *self = CfgExpr in merge() [all...] |
H A D | mod.rs | 34 use self::cfg::CfgExpr; 64 pub cfg: CfgExpr, 81 pub cfg: CfgExpr, 97 pub cfg: CfgExpr, 110 pub cfg: CfgExpr, 138 pub cfg: CfgExpr, 150 pub cfg: CfgExpr, 164 pub cfg: CfgExpr, 195 pub cfg: CfgExpr, 218 pub cfg: CfgExpr, [all...] |
H A D | attrs.rs | 1 use crate::syntax::cfg::CfgExpr; 31 pub cfg: Option<&'a mut CfgExpr>,
|
H A D | file.rs | 1 use crate::syntax::cfg::CfgExpr; 11 pub cfg: CfgExpr, 41 let cfg = CfgExpr::Unconditional; in parse()
|
/third_party/rust/crates/cxx/gen/build/src/syntax/ |
H A D | cfg.rs | 7 pub enum CfgExpr { enum 10 All(Vec<CfgExpr>), 11 Any(Vec<CfgExpr>), 12 Not(Box<CfgExpr>), 15 impl CfgExpr { impls 16 pub fn merge(&mut self, expr: CfgExpr) { in merge() 17 if let CfgExpr::Unconditional = self { in merge() 19 } else if let CfgExpr::All(list) = self { in merge() 22 let prev = mem::replace(self, CfgExpr::Unconditional); in merge() 23 *self = CfgExpr in merge() [all...] |
H A D | mod.rs | 34 use self::cfg::CfgExpr; 64 pub cfg: CfgExpr, 81 pub cfg: CfgExpr, 97 pub cfg: CfgExpr, 110 pub cfg: CfgExpr, 138 pub cfg: CfgExpr, 150 pub cfg: CfgExpr, 164 pub cfg: CfgExpr, 195 pub cfg: CfgExpr, 218 pub cfg: CfgExpr, [all...] |
H A D | attrs.rs | 1 use crate::syntax::cfg::CfgExpr; 31 pub cfg: Option<&'a mut CfgExpr>,
|
H A D | file.rs | 1 use crate::syntax::cfg::CfgExpr; 11 pub cfg: CfgExpr, 41 let cfg = CfgExpr::Unconditional; in parse()
|
H A D | parse.rs | 2 use crate::syntax::cfg::CfgExpr; 59 let mut cfg = CfgExpr::Unconditional; in parse_struct() 130 let mut cfg = CfgExpr::Unconditional; in parse_struct() 191 let mut cfg = CfgExpr::Unconditional; in parse_enum() 288 let mut cfg = CfgExpr::Unconditional; in parse_variant() 361 let mut cfg = CfgExpr::Unconditional; in parse_foreign_mod() 464 extern_block_cfg: &CfgExpr, in parse_extern_type() 522 extern_block_cfg: &CfgExpr, in parse_extern_fn() 641 let cfg = CfgExpr::Unconditional; in parse_extern_fn() 708 extern_block_cfg: &CfgExpr, in parse_extern_verbatim() [all...] |
/third_party/rust/crates/cxx/gen/src/ |
H A D | cfg.rs | 2 use crate::syntax::cfg::CfgExpr; 44 expr: &CfgExpr, 59 fn try_eval(cfg_evaluator: &dyn CfgEvaluator, expr: &CfgExpr) -> Result<bool, Vec<Error>> { in try_eval() 61 CfgExpr::Unconditional => Ok(true), in try_eval() 62 CfgExpr::Eq(ident, string) => { in try_eval() 74 CfgExpr::All(list) => { in try_eval() 89 CfgExpr::Any(list) => { in try_eval() 104 CfgExpr::Not(subexpr) => match try_eval(cfg_evaluator, subexpr) { in try_eval() 112 fn cfg(&self) -> &CfgExpr { in cfg()
|
/third_party/rust/crates/cxx/gen/cmd/src/gen/ |
H A D | cfg.rs | 2 use crate::syntax::cfg::CfgExpr; 44 expr: &CfgExpr, 59 fn try_eval(cfg_evaluator: &dyn CfgEvaluator, expr: &CfgExpr) -> Result<bool, Vec<Error>> { in try_eval() 61 CfgExpr::Unconditional => Ok(true), in try_eval() 62 CfgExpr::Eq(ident, string) => { in try_eval() 74 CfgExpr::All(list) => { in try_eval() 89 CfgExpr::Any(list) => { in try_eval() 104 CfgExpr::Not(subexpr) => match try_eval(cfg_evaluator, subexpr) { in try_eval() 112 fn cfg(&self) -> &CfgExpr { in cfg()
|
/third_party/rust/crates/cxx/gen/build/src/gen/ |
H A D | cfg.rs | 2 use crate::syntax::cfg::CfgExpr; 44 expr: &CfgExpr, 59 fn try_eval(cfg_evaluator: &dyn CfgEvaluator, expr: &CfgExpr) -> Result<bool, Vec<Error>> { in try_eval() 61 CfgExpr::Unconditional => Ok(true), in try_eval() 62 CfgExpr::Eq(ident, string) => { in try_eval() 74 CfgExpr::All(list) => { in try_eval() 89 CfgExpr::Any(list) => { in try_eval() 104 CfgExpr::Not(subexpr) => match try_eval(cfg_evaluator, subexpr) { in try_eval() 112 fn cfg(&self) -> &CfgExpr { in cfg()
|
/third_party/rust/crates/cxx/gen/lib/src/gen/ |
H A D | cfg.rs | 2 use crate::syntax::cfg::CfgExpr; 44 expr: &CfgExpr, 59 fn try_eval(cfg_evaluator: &dyn CfgEvaluator, expr: &CfgExpr) -> Result<bool, Vec<Error>> { in try_eval() 61 CfgExpr::Unconditional => Ok(true), in try_eval() 62 CfgExpr::Eq(ident, string) => { in try_eval() 74 CfgExpr::All(list) => { in try_eval() 89 CfgExpr::Any(list) => { in try_eval() 104 CfgExpr::Not(subexpr) => match try_eval(cfg_evaluator, subexpr) { in try_eval() 112 fn cfg(&self) -> &CfgExpr { in cfg()
|