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

Unified Diff: src/parsing/parse-info.h

Issue 2315733003: Class fields, part 1 (parsing and infrastructure) (Closed)
Patch Set: whitespace Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects-inl.h ('k') | src/parsing/parse-info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parse-info.h
diff --git a/src/parsing/parse-info.h b/src/parsing/parse-info.h
index 6176135c5979c6565b474af065c6c93ed8f48fe0..189031c94b0061d5b29fb1bdcf7a7e93c4f02398 100644
--- a/src/parsing/parse-info.h
+++ b/src/parsing/parse-info.h
@@ -151,6 +151,8 @@ class ParseInfo {
bool is_arrow() const;
bool is_async() const;
bool is_default_constructor() const;
+ bool requires_class_field_init() const;
+ bool is_class_field_initializer() const;
FunctionKind function_kind() const;
//--------------------------------------------------------------------------
« no previous file with comments | « src/objects-inl.h ('k') | src/parsing/parse-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698