Changeset 179371 in webkit for trunk/Source/JavaScriptCore/parser/Nodes.h
- Timestamp:
- Jan 29, 2015, 2:59:19 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/Nodes.h
r178918 r179371 1612 1612 }; 1613 1613 1614 #if ENABLE(ES6_CLASS_SYNTAX) 1615 class ClassExprNode final : public ExpressionNode { 1616 public: 1617 ClassExprNode(const JSTokenLocation&, const Identifier&, ExpressionNode* constructorExpresssion, 1618 ExpressionNode* parentClass, PropertyListNode* instanceMethods, PropertyListNode* staticMethods); 1619 1620 const Identifier& name() { return m_name; } 1621 1622 private: 1623 virtual RegisterID* emitBytecode(BytecodeGenerator&, RegisterID* = 0) override; 1624 1625 const Identifier& m_name; 1626 ExpressionNode* m_constructorExpression; 1627 ExpressionNode* m_parentClassExpression; 1628 PropertyListNode* m_instanceMethods; 1629 PropertyListNode* m_staticMethods; 1630 }; 1631 #endif 1632 1614 1633 class DeconstructionPatternNode : public RefCounted<DeconstructionPatternNode> { 1615 1634 WTF_MAKE_NONCOPYABLE(DeconstructionPatternNode); … … 1725 1744 }; 1726 1745 1746 #if ENABLE(ES6_CLASS_SYNTAX) 1747 class ClassDeclNode final : public StatementNode { 1748 public: 1749 ClassDeclNode(const JSTokenLocation&, ExpressionNode* classExpression); 1750 1751 private: 1752 virtual void emitBytecode(BytecodeGenerator&, RegisterID* = 0) override; 1753 1754 ExpressionNode* m_classDeclaration; 1755 }; 1756 #endif 1757 1727 1758 class CaseClauseNode : public ParserArenaFreeable { 1728 1759 public:
Note:
See TracChangeset
for help on using the changeset viewer.