![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <declarable.h>
Public Types | |
| using | iterator = typename Map::const_iterator |
Public Types inherited from v8::internal::torque::Declarable | |
| enum | Kind { kNamespace , kTorqueMacro , kExternMacro , kMethod , kBuiltin , kRuntimeFunction , kIntrinsic , kGenericCallable , kGenericType , kTypeAlias , kExternConstant , kNamespaceConstant } |
Public Member Functions | |
| void | AddSpecialization (const TypeVector &type_arguments, SpecializationType specialization) |
| std::optional< SpecializationType > | GetSpecialization (const TypeVector &type_arguments) const |
| iterator | begin () const |
| iterator | end () const |
| const std::string & | name () const |
| auto | declaration () const |
| const GenericParameters & | generic_parameters () const |
| const std::vector< TypeConstraint > & | Constraints () |
Public Member Functions inherited from v8::internal::torque::Declarable | |
| virtual | ~Declarable ()=default |
| Kind | kind () const |
| bool | IsNamespace () const |
| bool | IsMacro () const |
| bool | IsTorqueMacro () const |
| bool | IsMethod () const |
| bool | IsExternMacro () const |
| bool | IsIntrinsic () const |
| bool | IsBuiltin () const |
| bool | IsRuntimeFunction () const |
| bool | IsGenericCallable () const |
| bool | IsGenericType () const |
| bool | IsTypeAlias () const |
| bool | IsExternConstant () const |
| bool | IsNamespaceConstant () const |
| bool | IsValue () const |
| bool | IsScope () const |
| bool | IsCallable () const |
| virtual const char * | type_name () const |
| Scope * | ParentScope () const |
| SourcePosition | Position () const |
| void | SetPosition (const SourcePosition &position) |
| SourcePosition | IdentifierPosition () const |
| void | SetIdentifierPosition (const SourcePosition &position) |
| bool | IsUserDefined () const |
| void | SetIsUserDefined (bool is_user_defined) |
Protected Member Functions | |
| GenericDeclarable (Declarable::Kind kind, const std::string &name, DeclarationType generic_declaration) | |
Protected Member Functions inherited from v8::internal::torque::Declarable | |
| Declarable (Kind kind) | |
Private Types | |
| using | Map |
Private Attributes | |
| std::string | name_ |
| DeclarationType | generic_declaration_ |
| Map | specializations_ |
| std::optional< std::vector< TypeConstraint > > | constraints_ |
Definition at line 583 of file declarable.h.
| using v8::internal::torque::GenericDeclarable< SpecializationType, DeclarationType >::iterator = typename Map::const_iterator |
Definition at line 605 of file declarable.h.
|
private |
Definition at line 585 of file declarable.h.
|
inlineprotected |
Definition at line 622 of file declarable.h.
|
inline |
Definition at line 589 of file declarable.h.
|
inline |
Definition at line 606 of file declarable.h.
|
inline |
Definition at line 615 of file declarable.h.
|
inline |
|
inline |
Definition at line 607 of file declarable.h.
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 634 of file declarable.h.
|
private |
Definition at line 632 of file declarable.h.
|
private |
Definition at line 631 of file declarable.h.
|
private |
Definition at line 633 of file declarable.h.