Home | History | Annotate | Download | only in src

Lines Matching full:statement

45 // AST node visitor which can tell whether a given statement will be breakable
53 void Check(Statement* stmt);
138 virtual bool IsContinueTarget(Statement* target) { return false; }
139 virtual bool IsBreakTarget(Statement* target) { return false; }
141 // Notify the statement that we are exiting it via break, continue, or
143 // next outer statement in the nesting stack. We accumulate in
161 // A breakable statement such as a block.
164 Breakable(FullCodeGenerator* codegen, BreakableStatement* statement)
165 : NestedStatement(codegen), statement_(statement) {
170 virtual bool IsBreakTarget(Statement* target) {
171 return statement() == target;
174 BreakableStatement* statement() { return statement_; }
182 // An iteration statement such as a while, for, or do loop.
185 Iteration(FullCodeGenerator* codegen, IterationStatement* statement)
186 : Breakable(codegen, statement) {
191 virtual bool IsContinueTarget(Statement* target) {
192 return statement() == target;
201 // A nested block statement.
210 if (statement()->AsBlock()->block_scope() != NULL) {
217 // The try block of a try/catch statement.
227 // The try block of a try/finally statement.
241 // The finally block of a try/finally statement.
260 ForIn(FullCodeGenerator* codegen, ForInStatement* statement)
261 : Iteration(codegen, statement) {
530 void SetStatementPosition(Statement* stmt);