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

Side by Side Diff: src/messages.h

Issue 1416753009: [parser] early error when declaration Pattern missing Initializer (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments addressed Created 5 years, 1 month 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
« no previous file with comments | « no previous file | src/parser.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 // The infrastructure used for (localized) message reporting in V8. 5 // The infrastructure used for (localized) message reporting in V8.
6 // 6 //
7 // Note: there's a big unresolved issue about ownership of the data 7 // Note: there's a big unresolved issue about ownership of the data
8 // structures used by this framework. 8 // structures used by this framework.
9 9
10 #ifndef V8_MESSAGES_H_ 10 #ifndef V8_MESSAGES_H_
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 T(ConstAssign, "Assignment to constant variable.") \ 101 T(ConstAssign, "Assignment to constant variable.") \
102 T(ConstructorNonCallable, \ 102 T(ConstructorNonCallable, \
103 "Class constructors cannot be invoked without 'new'") \ 103 "Class constructors cannot be invoked without 'new'") \
104 T(ConstructorNotFunction, "Constructor % requires 'new'") \ 104 T(ConstructorNotFunction, "Constructor % requires 'new'") \
105 T(CurrencyCode, "Currency code is required with currency style.") \ 105 T(CurrencyCode, "Currency code is required with currency style.") \
106 T(DataViewNotArrayBuffer, \ 106 T(DataViewNotArrayBuffer, \
107 "First argument to DataView constructor must be an ArrayBuffer") \ 107 "First argument to DataView constructor must be an ArrayBuffer") \
108 T(DateType, "this is not a Date object.") \ 108 T(DateType, "this is not a Date object.") \
109 T(DebuggerFrame, "Debugger: Invalid frame index.") \ 109 T(DebuggerFrame, "Debugger: Invalid frame index.") \
110 T(DebuggerType, "Debugger: Parameters have wrong types.") \ 110 T(DebuggerType, "Debugger: Parameters have wrong types.") \
111 T(DeclarationMissingInitializer, "Missing initializer in % declaration") \
111 T(DefineDisallowed, "Cannot define property:%, object is not extensible.") \ 112 T(DefineDisallowed, "Cannot define property:%, object is not extensible.") \
112 T(DuplicateTemplateProperty, "Object template has duplicate property '%'") \ 113 T(DuplicateTemplateProperty, "Object template has duplicate property '%'") \
113 T(ExtendsValueGenerator, \ 114 T(ExtendsValueGenerator, \
114 "Class extends value % may not be a generator function") \ 115 "Class extends value % may not be a generator function") \
115 T(ExtendsValueNotFunction, \ 116 T(ExtendsValueNotFunction, \
116 "Class extends value % is not a function or null") \ 117 "Class extends value % is not a function or null") \
117 T(FirstArgumentNotRegExp, \ 118 T(FirstArgumentNotRegExp, \
118 "First argument to % must not be a regular expression") \ 119 "First argument to % must not be a regular expression") \
119 T(FlagsGetterNonObject, \ 120 T(FlagsGetterNonObject, \
120 "RegExp.prototype.flags getter called on non-object %") \ 121 "RegExp.prototype.flags getter called on non-object %") \
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( 498 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty(
498 Isolate* isolate, LookupIterator* property_lookup, 499 Isolate* isolate, LookupIterator* property_lookup,
499 Handle<String> default_value); 500 Handle<String> default_value);
500 501
501 List<Handle<JSObject> > visited_; 502 List<Handle<JSObject> > visited_;
502 }; 503 };
503 } // namespace internal 504 } // namespace internal
504 } // namespace v8 505 } // namespace v8
505 506
506 #endif // V8_MESSAGES_H_ 507 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « no previous file | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698