Home | History | Annotate | Download | only in src

Lines Matching refs:Statement

49 // AST node visitor which can tell whether a given statement will be breakable
59 void Check(Statement* stmt);
223 virtual bool IsContinueTarget(Statement* target) { return false; }
224 virtual bool IsBreakTarget(Statement* target) { return false; }
226 // Notify the statement that we are exiting it via break, continue, or
228 // next outer statement in the nesting stack. We accumulate in
246 // A breakable statement such as a block.
249 Breakable(FullCodeGenerator* codegen, BreakableStatement* statement)
250 : NestedStatement(codegen), statement_(statement) {
255 virtual bool IsBreakTarget(Statement* target) {
256 return statement() == target;
259 BreakableStatement* statement() { return statement_; }
267 // An iteration statement such as a while, for, or do loop.
270 Iteration(FullCodeGenerator* codegen, IterationStatement* statement)
271 : Breakable(codegen, statement) {
276 virtual bool IsContinueTarget(Statement* target) {
277 return statement() == target;
286 // A nested block statement.
295 if (statement()->AsBlock()->scope() != NULL) {
302 // The try block of a try/catch statement.
312 // The try block of a try/finally statement.
326 // The finally block of a try/finally statement.
345 ForIn(FullCodeGenerator* codegen, ForInStatement* statement)
346 : Iteration(codegen, statement) {
637 void SetStatementPosition(Statement* stmt);