Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/porting.md

    r6f4b7f2 r489bacf  
    3737  * all subclass constructors must fill it; by convention, from their first argument
    3838
    39 `N->print(std::ostream&)` is a visitor now
    40 * `Declaration::printShort` is also integrated
     39`N->print(std::ostream&)` is a visitor now, port these methods to `ast::Print` class
     40* **TODO** `Declaration::printShort` should also be integrated
    4141
    4242`clone` is private to `Node` now
     
    137137* `parameters` => `params`
    138138
     139`EnumDecl`
     140* **TODO** rebuild `eval` for new AST (re: `valueOf` implementation)
     141
    139142`Expr`
    140143* Merged `inferParams`/`resnSlots` into union, as suggested by comment in old version
     
    148151* `function` => `func`
    149152* removed `begin_args()` in favour of `args.begin()`
     153
     154`MemberExpr`
     155* **TODO** port setup of `result` in constructor
    150156
    151157`ConstantExpr`
     
    198204`TryStmt`
    199205* `block` -> `body` and `finallyBlock` -> `finally`
    200 
    201 `ThrowStmt` `CatchStmt`
    202 * moved `Kind` enums to shared `ast::ExceptionKind` enum
    203206
    204207`FinallyStmt`
Note: See TracChangeset for help on using the changeset viewer.