| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 static Handle<String> ReadFile(const char* name); | 131 static Handle<String> ReadFile(const char* name); |
| 132 static void RunShell(); | 132 static void RunShell(); |
| 133 static int Main(int argc, char* argv[]); | 133 static int Main(int argc, char* argv[]); |
| 134 static Handle<Array> GetCompletions(Handle<String> text, | 134 static Handle<Array> GetCompletions(Handle<String> text, |
| 135 Handle<String> full); | 135 Handle<String> full); |
| 136 #ifdef ENABLE_DEBUGGER_SUPPORT | 136 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 137 static Handle<Object> DebugMessageDetails(Handle<String> message); | 137 static Handle<Object> DebugMessageDetails(Handle<String> message); |
| 138 static Handle<Value> DebugCommandToJSONRequest(Handle<String> command); | 138 static Handle<Value> DebugCommandToJSONRequest(Handle<String> command); |
| 139 #endif | 139 #endif |
| 140 | 140 |
| 141 #ifdef WIN32 |
| 142 #undef Yield |
| 143 #endif |
| 144 |
| 141 static Handle<Value> Print(const Arguments& args); | 145 static Handle<Value> Print(const Arguments& args); |
| 142 static Handle<Value> Write(const Arguments& args); | 146 static Handle<Value> Write(const Arguments& args); |
| 143 static Handle<Value> Yield(const Arguments& args); | 147 static Handle<Value> Yield(const Arguments& args); |
| 144 static Handle<Value> Quit(const Arguments& args); | 148 static Handle<Value> Quit(const Arguments& args); |
| 145 static Handle<Value> Version(const Arguments& args); | 149 static Handle<Value> Version(const Arguments& args); |
| 146 static Handle<Value> Read(const Arguments& args); | 150 static Handle<Value> Read(const Arguments& args); |
| 147 static Handle<Value> ReadLine(const Arguments& args); | 151 static Handle<Value> ReadLine(const Arguments& args); |
| 148 static Handle<Value> Load(const Arguments& args); | 152 static Handle<Value> Load(const Arguments& args); |
| 149 // The OS object on the global object contains methods for performing | 153 // The OS object on the global object contains methods for performing |
| 150 // operating system calls: | 154 // operating system calls: |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 const char* name_; | 222 const char* name_; |
| 219 LineEditor* next_; | 223 LineEditor* next_; |
| 220 static LineEditor* first_; | 224 static LineEditor* first_; |
| 221 }; | 225 }; |
| 222 | 226 |
| 223 | 227 |
| 224 } // namespace v8 | 228 } // namespace v8 |
| 225 | 229 |
| 226 | 230 |
| 227 #endif // V8_D8_H_ | 231 #endif // V8_D8_H_ |
| OLD | NEW |