Lines Matching refs:Id
13 use crate::util::Id;
47 pub(crate) fn propagate_globals(&mut self, global_arg_vec: &[Id]) {
58 global_arg_vec: &[Id],
59 vals_map: &mut FlatMap<Id, MatchedArg>,
96 pub(crate) fn get(&self, arg: &Id) -> Option<&MatchedArg> {
100 pub(crate) fn get_mut(&mut self, arg: &Id) -> Option<&mut MatchedArg> {
104 pub(crate) fn remove(&mut self, arg: &Id) -> bool {
108 pub(crate) fn contains(&self, arg: &Id) -> bool {
112 pub(crate) fn arg_ids(&self) -> std::slice::Iter<'_, Id> {
116 pub(crate) fn args(&self) -> crate::util::flat_map::Iter<'_, Id, MatchedArg> {
120 pub(crate) fn entry(&mut self, arg: Id) -> crate::util::Entry<Id, MatchedArg> {
132 pub(crate) fn check_explicit(&self, arg: &Id, predicate: &ArgPredicate) -> bool {
148 pub(crate) fn start_custom_group(&mut self, id: Id, source: ValueSource) {
160 let id = Id::from_static_ref(Id::EXTERNAL);
175 pub(crate) fn add_val_to(&mut self, arg: &Id, val: AnyValue, raw_val: OsString) {
180 pub(crate) fn add_index_to(&mut self, arg: &Id, idx: usize) {
204 pub(crate) fn pending_arg_id(&self) -> Option<&Id> {
210 id: &Id,