From 0e1d9bdb6224c3eea5342b2022656902d71465a7 Mon Sep 17 00:00:00 2001 From: Robert-M-Lucas Date: Sun, 2 Jun 2024 18:34:30 +0100 Subject: [PATCH] Improved name system --- .idea/inspectionProfiles/Project_Default.xml | 6 +++ .idea/workspace.xml | 43 ++++++++++++++----- src/root/name_resolver/name_resolvers.rs | 26 ++++++----- src/root/name_resolver/resolve_names.rs | 8 ++-- src/root/parser/parse.rs | 3 +- src/root/parser/parse_arguments.rs | 4 +- src/root/parser/parse_function.rs | 14 +++--- .../parser/parse_function/parse_assignment.rs | 16 +++---- src/root/parser/parse_function/parse_break.rs | 4 +- .../parser/parse_function/parse_evaluable.rs | 10 ++--- src/root/parser/parse_function/parse_if.rs | 14 +++--- .../parse_function/parse_initialisation.rs | 16 +++---- src/root/parser/parse_function/parse_line.rs | 13 +++--- .../parser/parse_function/parse_return.rs | 10 ++--- src/root/parser/parse_function/parse_while.rs | 12 +++--- src/root/parser/parse_impl.rs | 10 ++++- src/root/parser/parse_name.rs | 36 ++++++++++++---- src/root/parser/parse_parameters.rs | 9 ++-- src/root/parser/parse_struct.rs | 2 +- 19 files changed, 161 insertions(+), 95 deletions(-) create mode 100644 .idea/inspectionProfiles/Project_Default.xml diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..7d228a9 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 4188ec3..633c762 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -7,7 +7,26 @@ - + + + + + + + + + + + + + + + + + + + + - { + "selectedUrlAndAccountId": { + "url": "https://github.com/Robert-M-Lucas/whython-8.git", + "accountId": "dcb8df19-0b39-47e1-9073-4a54f7034be8" } -}]]> +} @@ -121,6 +140,8 @@ + +