summaryrefslogtreecommitdiff
path: root/src/parse/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/parser.rs')
-rw-r--r--src/parse/parser.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/parse/parser.rs b/src/parse/parser.rs
index e495dbd0..545f6fd4 100644
--- a/src/parse/parser.rs
+++ b/src/parse/parser.rs
@@ -176,13 +176,6 @@ impl<'s> Parser<'s> {
}
}
- /// Eat the current token, but change its type.
- pub fn convert(&mut self, kind: NodeKind) {
- let marker = self.marker();
- self.eat();
- marker.convert(self, kind);
- }
-
/// Whether the current token is of the given type.
pub fn at(&self, kind: &NodeKind) -> bool {
self.peek() == Some(kind)