Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: src/accessors.h

Issue 316173002: Handle "//# sourceURL" comments in the Parser instead of the JS. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: yet another trivial rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « include/v8.h ('k') | src/accessors.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ACCESSORS_H_ 5 #ifndef V8_ACCESSORS_H_
6 #define V8_ACCESSORS_H_ 6 #define V8_ACCESSORS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 10
(...skipping 14 matching lines...) Expand all
25 V(ScriptContextData) \ 25 V(ScriptContextData) \
26 V(ScriptEvalFromScript) \ 26 V(ScriptEvalFromScript) \
27 V(ScriptEvalFromScriptPosition) \ 27 V(ScriptEvalFromScriptPosition) \
28 V(ScriptEvalFromFunctionName) \ 28 V(ScriptEvalFromFunctionName) \
29 V(ScriptId) \ 29 V(ScriptId) \
30 V(ScriptLineEnds) \ 30 V(ScriptLineEnds) \
31 V(ScriptLineOffset) \ 31 V(ScriptLineOffset) \
32 V(ScriptName) \ 32 V(ScriptName) \
33 V(ScriptSource) \ 33 V(ScriptSource) \
34 V(ScriptType) \ 34 V(ScriptType) \
35 V(ScriptSourceUrl) \
36 V(ScriptSourceMappingUrl) \
35 V(StringLength) 37 V(StringLength)
36 38
37 // Accessors contains all predefined proxy accessors. 39 // Accessors contains all predefined proxy accessors.
38 40
39 class Accessors : public AllStatic { 41 class Accessors : public AllStatic {
40 public: 42 public:
41 // Accessor descriptors. 43 // Accessor descriptors.
42 #define ACCESSOR_INFO_DECLARATION(name) \ 44 #define ACCESSOR_INFO_DECLARATION(name) \
43 static void name##Getter( \ 45 static void name##Getter( \
44 v8::Local<v8::String> name, \ 46 v8::Local<v8::String> name, \
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 94
93 95
94 private: 96 private:
95 // Helper functions. 97 // Helper functions.
96 static Handle<Object> FlattenNumber(Isolate* isolate, Handle<Object> value); 98 static Handle<Object> FlattenNumber(Isolate* isolate, Handle<Object> value);
97 }; 99 };
98 100
99 } } // namespace v8::internal 101 } } // namespace v8::internal
100 102
101 #endif // V8_ACCESSORS_H_ 103 #endif // V8_ACCESSORS_H_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/accessors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698