Lines Matching refs:Identifier

70     pub pre: Vec<Identifier>,
73 pub build: Vec<Identifier>,
104 pub enum Identifier { enum
111 impl Identifier { impl
112 pub fn concat(self, add_str: &str) -> Identifier { in concat() argument
114 Identifier::Numeric(n) => Identifier::AlphaNumeric(format!("{}{}", n, add_str)), in concat()
115 Identifier::AlphaNumeric(s) => Identifier::AlphaNumeric(format!("{}{}", s, add_str)), in concat()
170 impl fmt::Display for Identifier { implementation
173 Identifier::Numeric(ref id) => id.fmt(f), in fmt()
174 Identifier::AlphaNumeric(ref id) => id.fmt(f), in fmt()
368 let expected_pre = vec![Identifier::AlphaNumeric(String::from("pre"))]; in parse_basic_prerelease()
378 let expected_pre = vec![Identifier::AlphaNumeric(String::from("alpha1"))]; in parse_prerelease_alphanumeric()
389 Identifier::AlphaNumeric(String::from("pre")), in parse_prerelease_zero()
390 Identifier::Numeric(0), in parse_prerelease_zero()
401 let expected_build = vec![Identifier::AlphaNumeric(String::from("build"))]; in parse_basic_build()
411 let expected_build = vec![Identifier::AlphaNumeric(String::from("build5"))]; in parse_build_alphanumeric()
421 let expected_pre = vec![Identifier::AlphaNumeric(String::from("alpha1"))]; in parse_pre_and_build()
424 let expected_build = vec![Identifier::AlphaNumeric(String::from("build5"))]; in parse_pre_and_build()
435 Identifier::Numeric(1), in parse_complex_metadata_01()
436 Identifier::AlphaNumeric(String::from("alpha1")), in parse_complex_metadata_01()
437 Identifier::Numeric(9), in parse_complex_metadata_01()
442 Identifier::AlphaNumeric(String::from("build5")), in parse_complex_metadata_01()
443 Identifier::Numeric(7), in parse_complex_metadata_01()
444 Identifier::AlphaNumeric(String::from("3aedf")), in parse_complex_metadata_01()
456 Identifier::AlphaNumeric(String::from("beta")), in parse_complex_metadata_02()
457 Identifier::Numeric(1), in parse_complex_metadata_02()
461 let expected_build = vec![Identifier::AlphaNumeric(String::from("0851523"))]; in parse_complex_metadata_02()
472 Identifier::AlphaNumeric(String::from("beta")), in parse_metadata_overflow()
473 Identifier::Numeric(1), in parse_metadata_overflow()
477 let expected_build = vec![Identifier::AlphaNumeric(String::from( in parse_metadata_overflow()
493 let expected_pre = vec![Identifier::AlphaNumeric(String::from("WIP"))]; in parse_regression_01()
508 let expected_pre = vec![Identifier::AlphaNumeric(String::from("beta-1"))]; in parse_regression_02()