mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-07 23:48:43 +00:00
part of execute_visitor, minor fixes, function & operator fixes
This commit is contained in:
parent
d31979166e
commit
78de51f6f2
6 changed files with 345 additions and 247 deletions
|
|
@ -499,6 +499,8 @@ struct BinaryOperatorExpression {
|
|||
OperatorIdentifier operator_name;
|
||||
SubExpression left_expression;
|
||||
SubExpression right_expression;
|
||||
|
||||
utils::IdType function_id_;
|
||||
};
|
||||
|
||||
struct UnaryOperatorExpression {
|
||||
|
|
@ -506,6 +508,8 @@ struct UnaryOperatorExpression {
|
|||
|
||||
OperatorIdentifier operator_name;
|
||||
Expression expression;
|
||||
|
||||
utils::IdType function_id_;
|
||||
};
|
||||
|
||||
struct ReferenceExpression {
|
||||
|
|
@ -532,6 +536,8 @@ struct FunctionCallExpression {
|
|||
ExtendedName name;
|
||||
std::vector<std::unique_ptr<TypeExpression>> parameters;
|
||||
std::vector<SubExpressionToken> arguments;
|
||||
|
||||
utils::IdType function_id_;
|
||||
};
|
||||
|
||||
struct TupleExpression {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue