v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::compiler::turboshaft::detail::OptionMatch< T > Struct Template Reference

#include <operation-matcher.h>

Collaboration diagram for v8::internal::compiler::turboshaft::detail::OptionMatch< T >:

Classes

struct  Wildcard
 

Public Member Functions

 OptionMatch ()
 
 OptionMatch (const T &value)
 
 OptionMatch (T *value)
 
bool matches (const T &matched)
 
void bind (const T &matched)
 

Public Attributes

std::variant< Wildcard, T, T * > v_
 

Detailed Description

template<typename T>
struct v8::internal::compiler::turboshaft::detail::OptionMatch< T >

Definition at line 63 of file operation-matcher.h.

Constructor & Destructor Documentation

◆ OptionMatch() [1/3]

template<typename T >
v8::internal::compiler::turboshaft::detail::OptionMatch< T >::OptionMatch ( )
inline

Definition at line 66 of file operation-matcher.h.

◆ OptionMatch() [2/3]

template<typename T >
v8::internal::compiler::turboshaft::detail::OptionMatch< T >::OptionMatch ( const T & value)
inline

Definition at line 67 of file operation-matcher.h.

◆ OptionMatch() [3/3]

template<typename T >
v8::internal::compiler::turboshaft::detail::OptionMatch< T >::OptionMatch ( T * value)
inline

Definition at line 68 of file operation-matcher.h.

Member Function Documentation

◆ bind()

template<typename T >
void v8::internal::compiler::turboshaft::detail::OptionMatch< T >::bind ( const T & matched)
inline

Definition at line 77 of file operation-matcher.h.

Here is the call graph for this function:

◆ matches()

template<typename T >
bool v8::internal::compiler::turboshaft::detail::OptionMatch< T >::matches ( const T & matched)
inline

Definition at line 72 of file operation-matcher.h.

Here is the caller graph for this function:

Member Data Documentation

◆ v_

template<typename T >
std::variant<Wildcard, T, T*> v8::internal::compiler::turboshaft::detail::OptionMatch< T >::v_

Definition at line 70 of file operation-matcher.h.


The documentation for this struct was generated from the following file: