Improving operators and suffix
This commit is contained in:
@@ -9,11 +9,6 @@ pub struct Block(pub Vec<Spanned<Expression>>);
|
||||
pub enum Statement {
|
||||
Block(Block),
|
||||
VarDecl(VarDeclStmt),
|
||||
Assign {
|
||||
target: Expression,
|
||||
compound: String,
|
||||
value: Expression,
|
||||
},
|
||||
If {
|
||||
initial: StatementBranch,
|
||||
else_if: Vec<StatementBranch>,
|
||||
@@ -37,9 +32,6 @@ pub enum Statement {
|
||||
Return(Option<Expression>),
|
||||
Break,
|
||||
Continue,
|
||||
|
||||
Increment(Expression),
|
||||
Decrement(Expression),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize)]
|
||||
|
||||
Reference in New Issue
Block a user