|  | v8
    3.11.10(node0.8.26)
    V8 is Google's open source JavaScript engine | 
#include <parser.h>
| Public Member Functions | |
| Parser (Handle< Script > script, int parsing_flags, v8::Extension *extension, ScriptDataImpl *pre_data, Zone *zone) | |
| virtual | ~Parser () | 
| FunctionLiteral * | ParseProgram (CompilationInfo *info) | 
| FunctionLiteral * | ParseLazy (CompilationInfo *info) | 
| void | ReportMessageAt (Scanner::Location loc, const char *message, Vector< const char * > args) | 
| void | ReportMessageAt (Scanner::Location loc, const char *message, Vector< Handle< String > > args) | 
| Friends | |
| class | BlockState | 
| class | FunctionState | 
| Parser | ( | Handle< Script > | script, | 
| int | parsing_flags, | ||
| v8::Extension * | extension, | ||
| ScriptDataImpl * | pre_data, | ||
| Zone * | zone | ||
| ) | 
Definition at line 535 of file parser.cc.
References v8::internal::EXTENDED_MODE, v8::internal::kAllowModules, v8::internal::kLanguageModeMask, Scanner::SetHarmonyModules(), and Scanner::SetHarmonyScoping().
| 
 | inlinevirtual | 
Definition at line 439 of file parser.h.
References v8::internal::NULL.
| FunctionLiteral * ParseLazy | ( | CompilationInfo * | info | ) | 
Definition at line 665 of file parser.cc.
References String::cast(), and v8::internal::DONT_DELETE_ON_EXIT.
Referenced by ParserApi::Parse().
| FunctionLiteral * ParseProgram | ( | CompilationInfo * | info | ) | 
Definition at line 567 of file parser.cc.
References String::cast(), v8::internal::DONT_DELETE_ON_EXIT, and Scanner::Initialize().
Referenced by TEST(), and TestParserSync().
| void ReportMessageAt | ( | Scanner::Location | loc, | 
| const char * | message, | ||
| Vector< const char * > | args | ||
| ) | 
Definition at line 774 of file parser.cc.
References Scanner::Location::beg_pos, v8::internal::CStrVector(), Scanner::Location::end_pos, Vector< T >::length(), Factory::NewFixedArray(), Factory::NewJSArrayWithElements(), Factory::NewStringFromUtf8(), and Factory::NewSyntaxError().
Referenced by ObjectLiteralPropertyChecker::CheckProperty().
| void ReportMessageAt | ( | Scanner::Location | loc, | 
| const char * | message, | ||
| Vector< Handle< String > > | args | ||
| ) | 
Definition at line 792 of file parser.cc.
References Scanner::Location::beg_pos, Scanner::Location::end_pos, Factory::NewFixedArray(), Factory::NewJSArrayWithElements(), and Factory::NewSyntaxError().
| 
 | friend |