Changes in src/AST/porting.md [2bb4a01:14cebb7a]
- File:
-
- 1 edited
-
src/AST/porting.md (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/porting.md
r2bb4a01 r14cebb7a 55 55 * Preserve names from previous AST whenever reasonable, and get team consensus on any changes. 56 56 * Strong justification required for private fields 57 * No `get_` prefix on getters 57 * No `get_` prefix on getters (including for generated fields) 58 58 * Notable changes: 59 59 * for concision and consistency with subclasses: 60 60 * `Declaration` => `ast::Decl` 61 * `DeclarationWithType` => `ast::DeclWithType` 61 * `DeclarationWithType` => `ast::DeclWithType` 62 62 * `Expression` => `ast::Expr` 63 63 * `Initializer` => `ast::Init` … … 81 81 `DeclWithType` 82 82 * When `SymTab::Validate::Pass2` is rewritten, update comment on `mangleName` with new name of pass 83 * `get_scopedMangleName()` => `scopedMangleName()` 84 * `get_type()` now returns `const Type*` so can't be inadvertently mutated 85 * still with `get_` name so it doesn't conflict with subclass field names 86 87 `ObjectDecl` 88 * changed constructor parameter order for better defaults 89 * allows `newObject` as just default settings 90 91 `EnumDecl` 92 * **TODO** rebuild `eval` for new AST (re: `valueOf` implementation) 83 93 84 94 `Expr`
Note:
See TracChangeset
for help on using the changeset viewer.