Cleaned up AST
This commit is contained in:
@@ -90,6 +90,4 @@ pub struct ExprPathSegment {
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize)]
|
||||
pub struct ExprPath {
|
||||
pub segments: Vec<ExprPathSegment>,
|
||||
}
|
||||
pub struct ExprPath(pub Vec<ExprPathSegment>);
|
||||
|
||||
@@ -12,10 +12,6 @@ pub enum Statement {
|
||||
|
||||
VarDecl(VarDeclStmt),
|
||||
Assign {
|
||||
target: Expression,
|
||||
value: Expression,
|
||||
},
|
||||
CompoundAssign {
|
||||
target: Expression,
|
||||
compound: String,
|
||||
value: Expression,
|
||||
|
||||
Reference in New Issue
Block a user