Changeset 13153 in webkit for trunk/JavaScriptCore/kjs/internal.h
- Timestamp:
- Mar 5, 2006, 9:29:48 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/internal.h
r12921 r13153 4 4 * Copyright (C) 1999-2001 Harri Porten ([email protected]) 5 5 * Copyright (C) 2001 Peter Kelly ([email protected]) 6 * Copyright (C) 2003 Apple Computer, Inc.6 * Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc. 7 7 * 8 8 * This library is free software; you can redistribute it and/or … … 41 41 namespace KJS { 42 42 43 class Node; 44 class ProgramNode; 45 class FunctionBodyNode; 43 class Debugger; 46 44 class FunctionPrototype; 47 class FunctionImp;48 class Debugger;49 45 50 46 // --------------------------------------------------------------------------- … … 136 132 137 133 // --------------------------------------------------------------------------- 138 // Parsing & evaluation134 // Evaluation 139 135 // --------------------------------------------------------------------------- 140 136 … … 143 139 FunctionCode, 144 140 AnonymousCode }; 145 146 /**147 * @internal148 *149 * Parses ECMAScript source code and converts into ProgramNode objects, which150 * represent the root of a parse tree. This class provides a conveniant workaround151 * for the problem of the bison parser working in a static context.152 */153 class Parser {154 public:155 static RefPtr<ProgramNode> parse(const UString &sourceURL, int startingLineNumber,156 const UChar *code, unsigned int length, int *sourceId = 0,157 int *errLine = 0, UString *errMsg = 0);158 static void accept(ProgramNode *prog);159 160 static void saveNewNode(Node *node);161 static void noteNodeCycle(Node *node);162 static void removeNodeCycle(Node *node);163 164 static int sid;165 };166 141 167 142 class SavedBuiltinsInternal {
Note:
See TracChangeset
for help on using the changeset viewer.