Changeset 9445 in webkit for trunk/JavaScriptCore/kjs/nodes.h
- Timestamp:
- Jun 21, 2005, 1:25:26 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/nodes.h
r9352 r9445 634 634 class VarDeclNode : public Node { 635 635 public: 636 VarDeclNode(const Identifier &id, AssignExprNode *in); 637 virtual void ref(); 638 virtual bool deref(); 639 Value evaluate(ExecState *exec); 640 virtual void processVarDecls(ExecState *exec); 641 virtual void streamTo(SourceStream &s) const; 642 private: 636 enum Type { Variable, Constant }; 637 VarDeclNode(const Identifier &id, AssignExprNode *in, Type t); 638 virtual void ref(); 639 virtual bool deref(); 640 Value evaluate(ExecState *exec); 641 virtual void processVarDecls(ExecState *exec); 642 virtual void streamTo(SourceStream &s) const; 643 private: 644 Type varType; 643 645 Identifier ident; 644 646 AssignExprNode *init; … … 665 667 class VarStatementNode : public StatementNode { 666 668 public: 667 VarStatementNode(VarDeclListNode *l) 668 : list(l->list) { l->list = 0; } 669 VarStatementNode(VarDeclListNode *l) : list(l->list) { l->list = 0; } 669 670 virtual void ref(); 670 671 virtual bool deref();
Note:
See TracChangeset
for help on using the changeset viewer.