mirror of
https://github.com/danog/parser.git
synced 2024-11-26 20:04:57 +01:00
chore: remove unused InfixOp enum
This commit is contained in:
parent
df45b9f034
commit
01301e9c2c
@ -587,17 +587,6 @@ pub struct ListItem {
|
||||
pub value: Expression,
|
||||
}
|
||||
|
||||
#[derive(Debug, Eq, PartialEq, Clone)]
|
||||
pub enum InfixOp {}
|
||||
|
||||
impl From<TokenKind> for InfixOp {
|
||||
fn from(k: TokenKind) -> Self {
|
||||
match k {
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub struct ElseIf {
|
||||
pub condition: Expression,
|
||||
|
Loading…
Reference in New Issue
Block a user