Searched refs:ArrayNode (Results 1 - 4 of 4) sorted by relevance

/external/webkit/JavaScriptCore/parser/
H A DNodeConstructors.h119 inline ArrayNode::ArrayNode(JSGlobalData* globalData, int elision) function in class:JSC::ArrayNode
127 inline ArrayNode::ArrayNode(JSGlobalData* globalData, ElementNode* element) function in class:JSC::ArrayNode
135 inline ArrayNode::ArrayNode(JSGlobalData* globalData, int elision, ElementNode* element) function in class:JSC::ArrayNode
H A DNodes.h387 class ArrayNode : public ExpressionNode { class in namespace:JSC
389 ArrayNode(JSGlobalData*, int elision);
390 ArrayNode(JSGlobalData*, ElementNode*);
391 ArrayNode(JSGlobalData*, int elision, ElementNode*);
H A DGrammar.y366 '[' ElisionOpt ']' { $$ = createNodeInfo<ExpressionNode*>(new (GLOBAL_DATA) ArrayNode(GLOBAL_DATA, $2), 0, $2 ? 1 : 0); }
367 | '[' ElementList ']' { $$ = createNodeInfo<ExpressionNode*>(new (GLOBAL_DATA) ArrayNode(GLOBAL_DATA, $2.m_node.head), $2.m_features, $2.m_numConstants); }
368 | '[' ElementList ',' ElisionOpt ']' { $$ = createNodeInfo<ExpressionNode*>(new (GLOBAL_DATA) ArrayNode(GLOBAL_DATA, $4, $2.m_node.head), $2.m_features, $4 ? $2.m_numConstants + 1 : $2.m_numConstants); }
/external/webkit/JavaScriptCore/bytecompiler/
H A DNodesCodegen.cpp183 // ------------------------------ ArrayNode ------------------------------------
185 RegisterID* ArrayNode::emitBytecode(BytecodeGenerator& generator, RegisterID* dst)
216 bool ArrayNode::isSimpleArray() const
227 ArgumentListNode* ArrayNode::toArgumentList(JSGlobalData* globalData) const
456 m_args->m_listNode = static_cast<ArrayNode*>(m_args->m_listNode->m_expr)->toArgumentList(generator.globalData());

Completed in 227 milliseconds