Changes in src/Tuples/Tuples.h [77bfc80:c43c171]
- File:
-
- 1 edited
-
src/Tuples/Tuples.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Tuples/Tuples.h
r77bfc80 rc43c171 19 19 #include <vector> 20 20 21 #include "AST/Fwd.hpp"22 #include "AST/Node.hpp"23 21 #include "SynTree/Expression.h" 24 22 #include "SynTree/Declaration.h" … … 29 27 namespace Tuples { 30 28 // TupleAssignment.cc 31 void handleTupleAssignment( ResolvExpr::AlternativeFinder & currentFinder, UntypedExpr * assign, 29 void handleTupleAssignment( ResolvExpr::AlternativeFinder & currentFinder, UntypedExpr * assign, 32 30 std::vector< ResolvExpr::AlternativeFinder >& args ); 33 31 34 32 // TupleExpansion.cc 35 33 /// expands z.[a, b.[x, y], c] into [z.a, z.b.x, z.b.y, z.c], inserting UniqueExprs as appropriate … … 44 42 /// returns VoidType if any of the expressions have Voidtype, otherwise TupleType of the Expression result types 45 43 Type * makeTupleType( const std::list< Expression * > & exprs ); 46 const ast::Type * makeTupleType( const std::vector<ast::ptr<ast::Expr>> & exprs );47 44 48 45 /// returns a TypeInstType if `type` is a ttype, nullptr otherwise 49 46 TypeInstType * isTtype( Type * type ); 50 const ast::TypeInstType * isTtype( const ast::Type * type );51 47 52 48 /// returns true if the expression may contain side-effects.
Note:
See TracChangeset
for help on using the changeset viewer.