Lines Matching full:processor
14 class Processor: public AstVisitor {
16 Processor(Isolate* isolate, Scope* scope, Variable* result,
28 Processor(Parser* parser, Scope* scope, Variable* result,
39 ~Processor() override {}
93 Statement* Processor::AssignUndefinedBefore(Statement* s) {
107 void Processor::Process(ZoneList<Statement*>* statements) {
115 void Processor::VisitBlock(Block* node) {
129 void Processor::VisitExpressionStatement(ExpressionStatement* node) {
139 void Processor::VisitIfStatement(IfStatement* node) {
158 void Processor::VisitIterationStatement(IterationStatement* node) {
174 void Processor::VisitDoWhileStatement(DoWhileStatement* node) {
179 void Processor::VisitWhileStatement(WhileStatement* node) {
184 void Processor::VisitForStatement(ForStatement* node) {
189 void Processor::VisitForInStatement(ForInStatement* node) {
194 void Processor::VisitForOfStatement(ForOfStatement* node) {
199 void Processor::VisitTryCatchStatement(TryCatchStatement* node) {
218 void Processor::VisitTryFinallyStatement(TryFinallyStatement* node) {
255 void Processor::VisitSwitchStatement(SwitchStatement* node) {
273 void Processor::VisitContinueStatement(ContinueStatement* node) {
279 void Processor::VisitBreakStatement(BreakStatement* node) {
285 void Processor::VisitWithStatement(WithStatement* node) {
297 void Processor::VisitSloppyBlockFunctionStatement(
305 void Processor::VisitEmptyStatement(EmptyStatement* node) {
310 void Processor::VisitReturnStatement(ReturnStatement* node) {
316 void Processor::VisitDebuggerStatement(DebuggerStatement* node) {
323 void Processor::Visit##type(type* expr) { UNREACHABLE(); }
330 void Processor::Visit##type(type* expr) { UNREACHABLE(); }
350 Processor processor(info->isolate(), scope, result,
352 processor.Process(body);
353 if (processor.HasStackOverflow()) return false;
355 if (processor.result_assigned()) {
365 processor.factory()->NewVariableProxy(result, pos);
367 processor.factory()->NewReturnStatement(result_proxy, pos);
385 Processor processor(parser, scope, result_var, factory);
386 processor.Process(body);
387 if (processor.HasStackOverflow()) return false;
389 if (!processor.result_assigned()) {
390 AstNodeFactory* node_factory = processor.factory();
394 processor.SetResult(undef), expr->position());