mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2026-01-25 13:07:13 +00:00
binary operator expression repalced with function call expression
This commit is contained in:
parent
5192ffe5f3
commit
94805c8662
15 changed files with 165 additions and 269 deletions
|
|
@ -78,7 +78,6 @@ private:
|
|||
|
||||
// Operators
|
||||
|
||||
void Visit(BinaryOperatorExpression* node) override;
|
||||
void Visit(ReferenceExpression* node) override;
|
||||
void Visit(AccessExpression* node) override;
|
||||
|
||||
|
|
@ -139,6 +138,11 @@ private:
|
|||
void Visit(BoolLiteral* node) override;
|
||||
|
||||
void Visit(Literal& node) override; // variant
|
||||
|
||||
//
|
||||
|
||||
void VisitBinaryOperatorExpression(FunctionCallExpression* node);
|
||||
|
||||
private:
|
||||
const parser::ParseTree& parse_tree_;
|
||||
parser::ParseTree::Node current_node_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue