Modify the default calling convention; returns a new parser with the changed calling convention.
(self, default_calling_convention: CallConv)
| 459 | /// Modify the default calling convention; returns a new parser with the changed calling |
| 460 | /// convention. |
| 461 | pub fn with_default_calling_convention(self, default_calling_convention: CallConv) -> Self { |
| 462 | Self { |
| 463 | default_calling_convention, |
| 464 | ..self |
| 465 | } |
| 466 | } |
| 467 | |
| 468 | // Consume the current lookahead token and return it. |
| 469 | fn consume(&mut self) -> Token<'a> { |
no outgoing calls