- Timestamp:
- Dec 19, 2022, 2:04:29 PM (20 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- d18540f
- Parents:
- cbd1ba8
- Location:
- src/AST
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.hpp
rcbd1ba8 rd0bdb18 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
rcbd1ba8 rd0bdb18 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.