v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
#include <string>
#include <map>
Go to the source code of this file.
Data Structures | |
class | HttpRequest |
class | HttpRequestProcessor |
class | JsHttpRequestProcessor |
class | StringHttpRequest |
Functions | |
string | ObjectToString (Local< Value > value) |
void | ParseOptions (int argc, char *argv[], map< string, string > &options, string *file) |
Handle< String > | ReadFile (Isolate *isolate, const string &name) |
bool | ProcessEntries (HttpRequestProcessor *processor, int count, StringHttpRequest *reqs) |
void | PrintMap (map< string, string > *m) |
int | main (int argc, char *argv[]) |
Variables | |
const int | kSampleSize = 6 |
StringHttpRequest | kSampleRequests [kSampleSize] |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 645 of file process.cc.
References JsHttpRequestProcessor::Initialize(), V8::InitializeICU(), Handle< T >::IsEmpty(), kSampleRequests, kSampleSize, ParseOptions(), PrintMap(), ProcessEntries(), and ReadFile().
Definition at line 354 of file process.cc.
void ParseOptions | ( | int | argc, |
char * | argv[], | ||
map< string, string > & | options, | ||
string * | file | ||
) |
Definition at line 575 of file process.cc.
Referenced by main().
void PrintMap | ( | map< string, string > * | m | ) |
Definition at line 637 of file process.cc.
Referenced by main().
bool ProcessEntries | ( | HttpRequestProcessor * | processor, |
int | count, | ||
StringHttpRequest * | reqs | ||
) |
Definition at line 627 of file process.cc.
References HttpRequestProcessor::Process().
Referenced by main().
StringHttpRequest kSampleRequests[kSampleSize] |
Definition at line 617 of file process.cc.
Referenced by main().
const int kSampleSize = 6 |
Definition at line 616 of file process.cc.
Referenced by RegExpEngine::Compile(), and main().