Home
last modified time | relevance | path

Searched refs:MethodKind (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/parsing/
Dparser-base.h60 enum class MethodKind { enum
72 inline bool IsValidMethodKind(MethodKind kind) { in IsValidMethodKind()
73 return kind == MethodKind::Normal || kind == MethodKind::Static || in IsValidMethodKind()
74 kind == MethodKind::Generator || kind == MethodKind::StaticGenerator || in IsValidMethodKind()
75 kind == MethodKind::Async || kind == MethodKind::StaticAsync; in IsValidMethodKind()
78 static inline MethodKind operator|(MethodKind lhs, MethodKind rhs) {
80 return static_cast<MethodKind>(static_cast<T>(lhs) | static_cast<T>(rhs));
83 static inline MethodKind& operator|=(MethodKind& lhs, const MethodKind& rhs) {
89 static inline bool operator&(MethodKind bitfield, MethodKind mask) {
94 inline bool IsNormalMethod(MethodKind kind) { in IsNormalMethod()
[all …]
Dpreparser.cc1249 ParsePropertyDefinition(&checker, in_class, has_extends, MethodKind::Normal, in ParseClassLiteral()
Dparser.cc4959 &checker, in_class, has_extends, MethodKind::Normal, &is_computed_name, in ParseClassLiteral()