Changeset 21027 in webkit for trunk/JavaScriptCore/kjs/nodes.h
- Timestamp:
- Apr 23, 2007, 1:38:46 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/nodes.h
r15698 r21027 4 4 * Copyright (C) 1999-2000 Harri Porten ([email protected]) 5 5 * Copyright (C) 2001 Peter Kelly ([email protected]) 6 * Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc.6 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 7 7 * 8 8 * This library is free software; you can redistribute it and/or … … 101 101 102 102 JSValue *throwError(ExecState *, ErrorType, const char *msg); 103 JSValue* throwError(ExecState *, ErrorType, const char* msg, const char*); 103 104 JSValue *throwError(ExecState *, ErrorType, const char *msg, JSValue *, Node *); 104 105 JSValue *throwError(ExecState *, ErrorType, const char *msg, const Identifier &); … … 109 110 JSValue *throwUndefinedVariableError(ExecState *, const Identifier &); 110 111 111 void setExceptionDetailsIfNeeded(ExecState*);112 void debugExceptionIfNeeded(ExecState*, JSValue*);112 void handleException(ExecState*); 113 void handleException(ExecState*, JSValue*); 113 114 114 115 int m_line; … … 454 455 }; 455 456 457 class PostfixErrorNode : public Node { 458 public: 459 PostfixErrorNode(Node* e, Operator o) : m_expr(e), m_oper(o) {} 460 JSValue* evaluate(ExecState*); 461 virtual void streamTo(SourceStream&) const; 462 private: 463 RefPtr<Node> m_expr; 464 Operator m_oper; 465 }; 466 456 467 class DeleteResolveNode : public Node { 457 468 public: … … 548 559 RefPtr<Node> m_base; 549 560 Identifier m_ident; 561 Operator m_oper; 562 }; 563 564 class PrefixErrorNode : public Node { 565 public: 566 PrefixErrorNode(Node* e, Operator o) : m_expr(e), m_oper(o) {} 567 JSValue* evaluate(ExecState*); 568 virtual void streamTo(SourceStream&) const; 569 private: 570 RefPtr<Node> m_expr; 550 571 Operator m_oper; 551 572 }; … … 721 742 RefPtr<Node> m_base; 722 743 Identifier m_ident; 744 Operator m_oper; 745 RefPtr<Node> m_right; 746 }; 747 748 class AssignErrorNode : public Node { 749 public: 750 AssignErrorNode(Node* left, Operator oper, Node* right) 751 : m_left(left), m_oper(oper), m_right(right) {} 752 JSValue* evaluate(ExecState*); 753 virtual void streamTo(SourceStream&) const; 754 protected: 755 RefPtr<Node> m_left; 723 756 Operator m_oper; 724 757 RefPtr<Node> m_right;
Note:
See TracChangeset
for help on using the changeset viewer.