Changeset 17a0228a for src/AST/Expr.hpp


Ignore:
Timestamp:
May 21, 2019, 2:27:53 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, cleanup-dtors, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
51ff278
Parents:
dccc091
Message:

Added more visit passes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Expr.hpp

    rdccc091 r17a0228a  
    503503};
    504504
    505 /// The application of a function to a set of parameters, along with a set of copy constructor 
     505/// The application of a function to a set of parameters, along with a set of copy constructor
    506506/// calls, one for each argument
    507507class ImplicitCopyCtorExpr final : public Expr {
     
    603603};
    604604
    605 /// A multiple- or mass-assignment operation, or a tuple ctor/dtor expression. 
    606 /// multiple-assignment: both sides of the assignment have tuple type, 
     605/// A multiple- or mass-assignment operation, or a tuple ctor/dtor expression.
     606/// multiple-assignment: both sides of the assignment have tuple type,
    607607///     e.g. `[a, b, c] = [d, e, f];`
    608608/// mass-assignment: left-hand side has tuple type and right-hand side does not:
     
    612612        ptr<StmtExpr> stmtExpr;
    613613
    614         TupleAssignExpr( 
    615                 const CodeLocation & loc, std::vector<ptr<Expr>> && assigns, 
     614        TupleAssignExpr(
     615                const CodeLocation & loc, std::vector<ptr<Expr>> && assigns,
    616616                std::vector<ptr<ObjectDecl>> && tempDecls );
    617        
     617
    618618        const Expr * accept( Visitor & v ) const override { return v.visit( this ); }
    619619private:
Note: See TracChangeset for help on using the changeset viewer.