- Timestamp:
- Dec 19, 2022, 9:37:55 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 199456c, ebbe941
- Parents:
- 8e64cb4 (diff), d18540f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- src/AST
- Files:
-
- 2 edited
-
Pass.hpp (modified) (1 diff)
-
Pass.impl.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.hpp
r8e64cb4 r1afda5a2 66 66 // 67 67 // Other Special Members: 68 // | beginScope - A method with no parameters or return value, called each time the 69 // visitor enters a block. 70 // | endScope - A method with no parameters or return value, called each time the 71 // visitor leaves a block. 68 72 // | result - Either a method that takes no parameters or a field. If a method (or 69 73 // callable field) get_result calls it, otherwise the value is returned. -
src/AST/Pass.impl.hpp
r8e64cb4 r1afda5a2 836 836 if ( enterScope ) { 837 837 __pass::symtab::enter(core, 0); 838 __pass::scope::enter(core, 0);839 838 } 840 839 }, [this, leaveScope = !this->atFunctionTop]() { 841 840 if ( leaveScope ) { 842 841 __pass::symtab::leave(core, 0); 843 __pass::scope::leave(core, 0);844 842 } 845 843 });
Note:
See TracChangeset
for help on using the changeset viewer.