Changeset 176754 in webkit for trunk/Source/JavaScriptCore/parser/Nodes.h
- Timestamp:
- Dec 3, 2014, 1:54:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/Nodes.h
r175396 r176754 484 484 enum Type { Constant = 1, Getter = 2, Setter = 4 }; 485 485 486 PropertyNode(VM*, const Identifier&, ExpressionNode*, Type); 487 PropertyNode(VM*, double, ExpressionNode*, Type); 488 PropertyNode(VM*, ExpressionNode* propertyName, ExpressionNode*, Type); 486 PropertyNode(const Identifier&, ExpressionNode*, Type); 487 PropertyNode(ExpressionNode* propertyName, ExpressionNode*, Type); 489 488 490 489 ExpressionNode* expressionName() const { return m_expression; } … … 1281 1280 public: 1282 1281 EnumerationNode(const JSTokenLocation&, ExpressionNode*, ExpressionNode*, StatementNode*); 1283 EnumerationNode(VM*, const JSTokenLocation&, DeconstructionPatternNode*, ExpressionNode*, StatementNode*);1284 1282 1285 1283 protected: … … 1292 1290 public: 1293 1291 ForInNode(const JSTokenLocation&, ExpressionNode*, ExpressionNode*, StatementNode*); 1294 ForInNode(VM*, const JSTokenLocation&, DeconstructionPatternNode*, ExpressionNode*, StatementNode*);1295 1292 1296 1293 private: … … 1305 1302 public: 1306 1303 ForOfNode(const JSTokenLocation&, ExpressionNode*, ExpressionNode*, StatementNode*); 1307 ForOfNode(VM*, const JSTokenLocation&, DeconstructionPatternNode*, ExpressionNode*, StatementNode*);1308 1304 1309 1305 private: … … 1313 1309 class ContinueNode : public StatementNode, public ThrowableExpressionData { 1314 1310 public: 1315 ContinueNode(VM*, const JSTokenLocation&);1316 1311 ContinueNode(const JSTokenLocation&, const Identifier&); 1317 1312 Label* trivialTarget(BytecodeGenerator&); … … 1326 1321 class BreakNode : public StatementNode, public ThrowableExpressionData { 1327 1322 public: 1328 BreakNode(VM*, const JSTokenLocation&);1329 1323 BreakNode(const JSTokenLocation&, const Identifier&); 1330 1324 Label* trivialTarget(BytecodeGenerator&); … … 1619 1613 1620 1614 protected: 1621 DeconstructionPatternNode( VM*);1615 DeconstructionPatternNode(); 1622 1616 }; 1623 1617 1624 1618 class ArrayPatternNode : public DeconstructionPatternNode { 1625 1619 public: 1626 static PassRefPtr<ArrayPatternNode> create( VM*);1620 static PassRefPtr<ArrayPatternNode> create(); 1627 1621 void appendIndex(const JSTokenLocation&, DeconstructionPatternNode* node) 1628 1622 { … … 1631 1625 1632 1626 private: 1633 ArrayPatternNode( VM*);1627 ArrayPatternNode(); 1634 1628 virtual void collectBoundIdentifiers(Vector<Identifier>&) const override; 1635 1629 virtual void bindValue(BytecodeGenerator&, RegisterID*) const override; … … 1642 1636 class ObjectPatternNode : public DeconstructionPatternNode { 1643 1637 public: 1644 static PassRefPtr<ObjectPatternNode> create( VM*);1638 static PassRefPtr<ObjectPatternNode> create(); 1645 1639 void appendEntry(const JSTokenLocation&, const Identifier& identifier, bool wasString, DeconstructionPatternNode* pattern) 1646 1640 { … … 1649 1643 1650 1644 private: 1651 ObjectPatternNode( VM*);1645 ObjectPatternNode(); 1652 1646 virtual void collectBoundIdentifiers(Vector<Identifier>&) const override; 1653 1647 virtual void bindValue(BytecodeGenerator&, RegisterID*) const override; … … 1669 1663 class BindingNode : public DeconstructionPatternNode { 1670 1664 public: 1671 static PassRefPtr<BindingNode> create( VM*,const Identifier& boundProperty, const JSTextPosition& start, const JSTextPosition& end);1665 static PassRefPtr<BindingNode> create(const Identifier& boundProperty, const JSTextPosition& start, const JSTextPosition& end); 1672 1666 const Identifier& boundProperty() const { return m_boundProperty; } 1673 1667 … … 1676 1670 1677 1671 private: 1678 BindingNode( VM*,const Identifier& boundProperty, const JSTextPosition& start, const JSTextPosition& end);1672 BindingNode(const Identifier& boundProperty, const JSTextPosition& start, const JSTextPosition& end); 1679 1673 1680 1674 virtual void collectBoundIdentifiers(Vector<Identifier>&) const override;
Note:
See TracChangeset
for help on using the changeset viewer.