Resolver - Added some spacing
This commit is contained in:
parent
5cfe6d3e5c
commit
16bf06c7a1
1 changed files with 7 additions and 0 deletions
|
@ -339,20 +339,27 @@ impl VarResolver for ExprNode {
|
||||||
operator: _,
|
operator: _,
|
||||||
right,
|
right,
|
||||||
} => left.resolve(rs).and_then(|_| right.resolve(rs)),
|
} => left.resolve(rs).and_then(|_| right.resolve(rs)),
|
||||||
|
|
||||||
ExprNode::Binary {
|
ExprNode::Binary {
|
||||||
left,
|
left,
|
||||||
operator: _,
|
operator: _,
|
||||||
right,
|
right,
|
||||||
} => left.resolve(rs).and_then(|_| right.resolve(rs)),
|
} => left.resolve(rs).and_then(|_| right.resolve(rs)),
|
||||||
|
|
||||||
ExprNode::Unary { operator: _, right } => right.resolve(rs),
|
ExprNode::Unary { operator: _, right } => right.resolve(rs),
|
||||||
|
|
||||||
ExprNode::Grouping { expression } => expression.resolve(rs),
|
ExprNode::Grouping { expression } => expression.resolve(rs),
|
||||||
|
|
||||||
ExprNode::Litteral { value: _ } => Ok(()),
|
ExprNode::Litteral { value: _ } => Ok(()),
|
||||||
|
|
||||||
ExprNode::Call {
|
ExprNode::Call {
|
||||||
callee,
|
callee,
|
||||||
right_paren: _,
|
right_paren: _,
|
||||||
arguments,
|
arguments,
|
||||||
} => callee.resolve(rs).and_then(|_| arguments.resolve(rs)),
|
} => callee.resolve(rs).and_then(|_| arguments.resolve(rs)),
|
||||||
|
|
||||||
ExprNode::Get(get_expr) => get_expr.instance.resolve(rs),
|
ExprNode::Get(get_expr) => get_expr.instance.resolve(rs),
|
||||||
|
|
||||||
ExprNode::Set(set_expr) => set_expr
|
ExprNode::Set(set_expr) => set_expr
|
||||||
.instance
|
.instance
|
||||||
.resolve(rs)
|
.resolve(rs)
|
||||||
|
|
Loading…
Reference in a new issue