v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
function-kind.h File Reference
#include "src/base/bounds.h"
#include "src/base/macros.h"
Include dependency graph for function-kind.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::internal
 

Enumerations

enum class  v8::internal::FunctionKind : uint8_t {
  v8::internal::kNormalFunction , v8::internal::kModule , v8::internal::kModuleWithTopLevelAwait , v8::internal::kBaseConstructor ,
  v8::internal::kDefaultBaseConstructor , v8::internal::kDefaultDerivedConstructor , v8::internal::kDerivedConstructor , v8::internal::kGetterFunction ,
  v8::internal::kStaticGetterFunction , v8::internal::kSetterFunction , v8::internal::kStaticSetterFunction , v8::internal::kArrowFunction ,
  v8::internal::kAsyncArrowFunction , v8::internal::kAsyncFunction , v8::internal::kAsyncConciseMethod , v8::internal::kStaticAsyncConciseMethod ,
  v8::internal::kAsyncConciseGeneratorMethod , v8::internal::kStaticAsyncConciseGeneratorMethod , v8::internal::kAsyncGeneratorFunction , v8::internal::kGeneratorFunction ,
  v8::internal::kConciseGeneratorMethod , v8::internal::kStaticConciseGeneratorMethod , v8::internal::kConciseMethod , v8::internal::kStaticConciseMethod ,
  v8::internal::kClassMembersInitializerFunction , v8::internal::kClassStaticInitializerFunction , v8::internal::kInvalid , v8::internal::kLastFunctionKind = kClassStaticInitializerFunction
}
 

Functions

bool v8::internal::IsArrowFunction (FunctionKind kind)
 
bool v8::internal::IsModule (FunctionKind kind)
 
bool v8::internal::IsModuleWithTopLevelAwait (FunctionKind kind)
 
bool v8::internal::IsAsyncGeneratorFunction (FunctionKind kind)
 
bool v8::internal::IsGeneratorFunction (FunctionKind kind)
 
bool v8::internal::IsAsyncFunction (FunctionKind kind)
 
bool v8::internal::IsResumableFunction (FunctionKind kind)
 
bool v8::internal::IsConciseMethod (FunctionKind kind)
 
bool v8::internal::IsStrictFunctionWithoutPrototype (FunctionKind kind)
 
bool v8::internal::IsGetterFunction (FunctionKind kind)
 
bool v8::internal::IsSetterFunction (FunctionKind kind)
 
bool v8::internal::IsAccessorFunction (FunctionKind kind)
 
bool v8::internal::IsDefaultConstructor (FunctionKind kind)
 
bool v8::internal::IsBaseConstructor (FunctionKind kind)
 
bool v8::internal::IsDerivedConstructor (FunctionKind kind)
 
bool v8::internal::IsClassConstructor (FunctionKind kind)
 
bool v8::internal::IsClassMembersInitializerFunction (FunctionKind kind)
 
bool v8::internal::IsConstructable (FunctionKind kind)
 
bool v8::internal::IsStatic (FunctionKind kind)
 
bool v8::internal::BindsSuper (FunctionKind kind)
 
const char * v8::internal::FunctionKind2String (FunctionKind kind)
 
std::ostream & v8::internal::operator<< (std::ostream &os, FunctionKind kind)
 

Variables

constexpr int v8::internal::kFunctionKindBitSize = 5