Home | History | Annotate | Download | only in AST

Lines Matching defs:BODY

130   enum { RANGE, BEGINSTMT, ENDSTMT, COND, INC, LOOPVAR, BODY, END };
141 Expr *Cond, Expr *Inc, DeclStmt *LoopVar, Stmt *Body,
162 Stmt *getBody() { return SubExprs[BODY]; }
182 const Stmt *getBody() const { return SubExprs[BODY]; }
191 void setBody(Stmt *S) { SubExprs[BODY] = S; }
200 return SubExprs[BODY]->getLocEnd();
296 /// \brief Represents the body of a coroutine. This wraps the normal function
297 /// body and holds the additional semantic context required to set up and tear
301 Body, ///< The body of the coroutine.
303 InitSuspend, ///< The initial suspend statement, run before the body.
304 FinalSuspend, ///< The final suspend statement, run after the body.
305 OnException, ///< Handler for exceptions thrown in the body.
306 OnFallthrough, ///< Handler for control flow falling off the body.
314 CoroutineBodyStmt(Stmt *Body, Stmt *Promise, Stmt *InitSuspend,
318 SubStmts[CoroutineBodyStmt::Body] = Body;
329 /// \brief Retrieve the body of the coroutine as written. This will be either
332 return SubStmts[SubStmt::Body];