Lines Matching refs:err_msg

36     ($signed:ty, $unsigned:ty, $parser:expr, $err_msg:expr) => {{
79 err!($parser.loc, $err_msg)
519 fn match_token(&mut self, want: Token<'a>, err_msg: &str) -> ParseResult<Token<'a>> { in match_token()
523 err!(self.loc, err_msg) in match_token()
539 fn match_identifier(&mut self, want: &'static str, err_msg: &str) -> ParseResult<Token<'a>> { in match_identifier()
543 err!(self.loc, err_msg) in match_identifier()
548 fn match_type(&mut self, err_msg: &str) -> ParseResult<Type> { in match_type()
553 err!(self.loc, err_msg) in match_type()
558 fn match_ss(&mut self, err_msg: &str) -> ParseResult<StackSlot> { in match_ss()
565 err!(self.loc, err_msg) in match_ss()
569 fn match_dss(&mut self, err_msg: &str) -> ParseResult<DynamicStackSlot> { in match_dss()
576 err!(self.loc, err_msg) in match_dss()
580 fn match_dt(&mut self, err_msg: &str) -> ParseResult<DynamicType> { in match_dt()
587 err!(self.loc, err_msg) in match_dt()
596 fn match_gv(&mut self, err_msg: &str) -> ParseResult<GlobalValue> { in match_gv()
603 err!(self.loc, err_msg) in match_gv()
607 fn match_fn(&mut self, err_msg: &str) -> ParseResult<FuncRef> { in match_fn()
614 err!(self.loc, err_msg) in match_fn()
618 fn match_sig(&mut self, err_msg: &str) -> ParseResult<SigRef> { in match_sig()
625 err!(self.loc, err_msg) in match_sig()
649 fn match_block(&mut self, err_msg: &str) -> ParseResult<Block> { in match_block()
654 err!(self.loc, err_msg) in match_block()
659 fn match_value(&mut self, err_msg: &str) -> ParseResult<Value> { in match_value()
664 err!(self.loc, err_msg) in match_value()
677 fn match_imm64(&mut self, err_msg: &str) -> ParseResult<Imm64> { in match_imm64()
684 err!(self.loc, err_msg) in match_imm64()
689 fn match_hexadecimal_constant(&mut self, err_msg: &str) -> ParseResult<ConstantData> { in match_hexadecimal_constant()
698 err!(self.loc, err_msg) in match_hexadecimal_constant()
729 fn match_uimm64(&mut self, err_msg: &str) -> ParseResult<Uimm64> { in match_uimm64()
737 err!(self.loc, err_msg) in match_uimm64()
742 fn match_uimm32(&mut self, err_msg: &str) -> ParseResult<Uimm32> { in match_uimm32()
749 err!(self.loc, err_msg) in match_uimm32()
755 fn match_uimm8(&mut self, err_msg: &str) -> ParseResult<u8> { in match_uimm8()
769 err!(self.loc, err_msg) in match_uimm8()
774 fn match_imm8(&mut self, err_msg: &str) -> ParseResult<i8> { in match_imm8()
775 match_imm!(i8, u8, self, err_msg) in match_imm8()
779 fn match_imm16(&mut self, err_msg: &str) -> ParseResult<i16> { in match_imm16()
780 match_imm!(i16, u16, self, err_msg) in match_imm16()
785 fn match_imm32(&mut self, err_msg: &str) -> ParseResult<i32> { in match_imm32()
786 match_imm!(i32, u32, self, err_msg) in match_imm32()
790 fn match_imm128(&mut self, err_msg: &str) -> ParseResult<i128> { in match_imm128()
791 match_imm!(i128, u128, self, err_msg) in match_imm128()
829 fn match_ieee16(&mut self, err_msg: &str) -> ParseResult<Ieee16> { in match_ieee16()
836 err!(self.loc, err_msg) in match_ieee16()
841 fn match_ieee32(&mut self, err_msg: &str) -> ParseResult<Ieee32> { in match_ieee32()
848 err!(self.loc, err_msg) in match_ieee32()
853 fn match_ieee64(&mut self, err_msg: &str) -> ParseResult<Ieee64> { in match_ieee64()
860 err!(self.loc, err_msg) in match_ieee64()
865 fn match_ieee128(&mut self, err_msg: &str) -> ParseResult<Ieee128> { in match_ieee128()
872 err!(self.loc, err_msg) in match_ieee128()
877 fn match_enum<T: FromStr>(&mut self, err_msg: &str) -> ParseResult<T> { in match_enum()
880 text.parse().map_err(|_| self.error(err_msg)) in match_enum()
882 err!(self.loc, err_msg) in match_enum()
902 fn match_any_identifier(&mut self, err_msg: &str) -> ParseResult<&'a str> { in match_any_identifier()
907 err!(self.loc, err_msg) in match_any_identifier()