#include <jsparse.h>
List of all members.
Public Member Functions |
| | Parser (JSContext *cx, JSPrincipals *prin=NULL, JSStackFrame *cfp=NULL) |
| | ~Parser () |
| bool | init (const jschar *base, size_t length, const char *filename, uintN lineno) |
| void | setPrincipals (JSPrincipals *prin) |
| const char * | getFilename () |
| JSParseNode * | parse (JSObject *chain) |
| JSObjectBox * | newObjectBox (JSObject *obj) |
| JSFunctionBox * | newFunctionBox (JSObject *obj, JSParseNode *fn, JSTreeContext *tc) |
| JSFunction * | newFunction (JSTreeContext *tc, JSAtom *atom, uintN lambda) |
| bool | analyzeFunctions (JSTreeContext *tc) |
| void | cleanFunctionList (JSFunctionBox **funbox) |
| bool | markFunArgs (JSFunctionBox *funbox) |
| void | setFunctionKinds (JSFunctionBox *funbox, uint32 *tcflags) |
| void | trace (JSTracer *trc) |
| bool | reportErrorNumber (JSParseNode *pn, uintN flags, uintN errorNumber,...) |
Public Attributes |
| JSContext *const | context |
| JSAtomListElement * | aleFreeList |
| void * | tempFreeList [6U] |
| js::TokenStream | tokenStream |
| void * | tempPoolMark |
| JSPrincipals * | principals |
| JSStackFrame *const | callerFrame |
| JSObject *const | callerVarObj |
| JSParseNode * | nodeList |
| uint32 | functionCount |
| JSObjectBox * | traceListHead |
| JSTreeContext * | tc |
| JSVersion | version |
| js::AutoKeepAtoms | keepAtoms |
Friends |
| struct | ::JSTreeContext |
| struct | Compiler |
| void | js::AutoGCRooter::trace (JSTracer *trc) |
Constructor & Destructor Documentation
Member Function Documentation
| const char* js::Parser::getFilename |
( |
|
) |
[inline] |
| bool js::Parser::init |
( |
const jschar * |
base, |
|
|
size_t |
length, |
|
|
const char * |
filename, |
|
|
uintN |
lineno | |
|
) |
| | |
| void js::Parser::trace |
( |
JSTracer * |
trc |
) |
|
Friends And Related Function Documentation
| void js::AutoGCRooter::trace |
( |
JSTracer * |
trc |
) |
[friend] |
Member Data Documentation
The documentation for this struct was generated from the following file: