KJS
KJS::FunctionBodyNode Class Reference
#include <nodes.h>
List of all members.
Detailed Description
This AST node corresponds to the function body in the AST, but is used to keep track of much of the information relevant to the whole function, such as parameter names and symbol tables.
This is because there are both function declarations and expressions, so there is no natural single place to put this stuff above the body
Definition at line 1096 of file nodes.h.
Constructor & Destructor Documentation
Member Function Documentation
| int KJS::FunctionBodyNode::sourceId |
( |
|
) |
[inline] |
| const UString& KJS::FunctionBodyNode::sourceURL |
( |
|
) |
[inline] |
| bool KJS::FunctionBodyNode::builtSymbolList |
( |
|
) |
const [inline] |
| void KJS::FunctionBodyNode::setBuiltSymbolList |
( |
|
) |
[inline] |
| int KJS::FunctionBodyNode::numLocals |
( |
|
) |
const [inline] |
| int KJS::FunctionBodyNode::getLocalAttr |
( |
int |
id |
) |
const [inline] |
| Identifier KJS::FunctionBodyNode::getLocalName |
( |
int |
id |
) |
const [inline] |
| FuncDeclNode* KJS::FunctionBodyNode::getLocalFuncDecl |
( |
int |
id |
) |
const [inline] |
| int KJS::FunctionBodyNode::lookupSymbolID |
( |
const Identifier & |
ident |
) |
const |
| void KJS::FunctionBodyNode::addParam |
( |
const Identifier & |
ident |
) |
|
| void KJS::FunctionBodyNode::addVarDecl |
( |
const Identifier & |
ident, |
|
|
int |
attr, |
|
|
ExecState * |
exec | |
|
) |
| | |
| int KJS::FunctionBodyNode::numParams |
( |
|
) |
const [inline] |
| int KJS::FunctionBodyNode::paramSymbolID |
( |
int |
pos |
) |
const [inline] |
| const Identifier& KJS::FunctionBodyNode::paramName |
( |
int |
pos |
) |
const [inline] |
The documentation for this class was generated from the following files: