#include <cpp-builder.h>
|
| | Function (std::string name) |
| |
| | Function (Class *owning_class, std::string name) |
| |
| | ~Function ()=default |
| |
| void | SetFlag (FunctionFlag flag, bool value=true) |
| |
| void | SetFlags (base::Flags< FunctionFlag > flags, bool value=true) |
| |
| bool | HasFlag (FunctionFlag flag) const |
| |
| void | SetDescription (std::string description) |
| |
| void | SetName (std::string name) |
| |
| void | SetReturnType (std::string return_type) |
| |
| void | AddParameter (std::string type, std::string name={}, std::string default_value={}) |
| |
| void | InsertParameter (int index, std::string type, std::string name={}, std::string default_value={}) |
| |
| std::vector< Parameter > | GetParameters () const |
| |
| std::vector< std::string > | GetParameterNames () const |
| |
| void | PrintDeclaration (std::ostream &stream, int indentation=kAutomaticIndentation) const |
| |
| void | PrintDefinition (std::ostream &stream, const std::function< void(std::ostream &)> &builder, int indentation=0) const |
| |
| void | PrintInlineDefinition (std::ostream &stream, const std::function< void(std::ostream &)> &builder, int indentation=2) const |
| |
| void | PrintBeginDefinition (std::ostream &stream, int indentation=0) const |
| |
| void | PrintEndDefinition (std::ostream &stream, int indentation=0) const |
| |
Definition at line 53 of file cpp-builder.h.
◆ FunctionFlag
◆ Function() [1/2]
| v8::internal::torque::cpp::Function::Function |
( |
std::string | name | ) |
|
|
inlineexplicit |
◆ Function() [2/2]
| v8::internal::torque::cpp::Function::Function |
( |
Class * | owning_class, |
|
|
std::string | name ) |
|
inline |
◆ ~Function()
| v8::internal::torque::cpp::Function::~Function |
( |
| ) |
|
|
default |
◆ AddParameter()
| void v8::internal::torque::cpp::Function::AddParameter |
( |
std::string | type, |
|
|
std::string | name = {}, |
|
|
std::string | default_value = {} ) |
|
inline |
◆ DefaultGetter()
| static Function v8::internal::torque::cpp::Function::DefaultGetter |
( |
std::string | return_type, |
|
|
Class * | owner, |
|
|
std::string | name ) |
|
inlinestatic |
◆ DefaultSetter()
| static Function v8::internal::torque::cpp::Function::DefaultSetter |
( |
Class * | owner, |
|
|
std::string | name, |
|
|
std::string | parameter_type, |
|
|
std::string | parameter_name ) |
|
inlinestatic |
◆ GetParameterNames()
| std::vector< std::string > v8::internal::torque::cpp::Function::GetParameterNames |
( |
| ) |
const |
|
inline |
◆ GetParameters()
| std::vector< Parameter > v8::internal::torque::cpp::Function::GetParameters |
( |
| ) |
const |
|
inline |
◆ HasFlag()
◆ InsertParameter()
| void v8::internal::torque::cpp::Function::InsertParameter |
( |
int | index, |
|
|
std::string | type, |
|
|
std::string | name = {}, |
|
|
std::string | default_value = {} ) |
|
inline |
◆ PrintBeginDefinition()
| void v8::internal::torque::cpp::Function::PrintBeginDefinition |
( |
std::ostream & | stream, |
|
|
int | indentation = 0 ) const |
◆ PrintDeclaration()
| void v8::internal::torque::cpp::Function::PrintDeclaration |
( |
std::ostream & | stream, |
|
|
int | indentation = kAutomaticIndentation ) const |
◆ PrintDeclarationHeader()
| void v8::internal::torque::cpp::Function::PrintDeclarationHeader |
( |
std::ostream & | stream, |
|
|
int | indentation ) const |
|
protected |
◆ PrintDefinition()
| void v8::internal::torque::cpp::Function::PrintDefinition |
( |
std::ostream & | stream, |
|
|
const std::function< void(std::ostream &)> & | builder, |
|
|
int | indentation = 0 ) const |
◆ PrintEndDefinition()
| void v8::internal::torque::cpp::Function::PrintEndDefinition |
( |
std::ostream & | stream, |
|
|
int | indentation = 0 ) const |
◆ PrintInlineDefinition()
| void v8::internal::torque::cpp::Function::PrintInlineDefinition |
( |
std::ostream & | stream, |
|
|
const std::function< void(std::ostream &)> & | builder, |
|
|
int | indentation = 2 ) const |
◆ SetDescription()
| void v8::internal::torque::cpp::Function::SetDescription |
( |
std::string | description | ) |
|
|
inline |
◆ SetFlag()
| void v8::internal::torque::cpp::Function::SetFlag |
( |
FunctionFlag | flag, |
|
|
bool | value = true ) |
|
inline |
◆ SetFlags()
◆ SetName()
| void v8::internal::torque::cpp::Function::SetName |
( |
std::string | name | ) |
|
|
inline |
◆ SetReturnType()
| void v8::internal::torque::cpp::Function::SetReturnType |
( |
std::string | return_type | ) |
|
|
inline |
◆ description_
| std::string v8::internal::torque::cpp::Function::description_ |
|
private |
◆ flags_
◆ kAutomaticIndentation
| int v8::internal::torque::cpp::Function::kAutomaticIndentation = -1 |
|
staticconstexpr |
◆ name_
| std::string v8::internal::torque::cpp::Function::name_ |
|
private |
◆ owning_class_
| Class* v8::internal::torque::cpp::Function::owning_class_ |
|
private |
◆ parameters_
| std::vector<Parameter> v8::internal::torque::cpp::Function::parameters_ |
|
private |
◆ pos_
◆ return_type_
| std::string v8::internal::torque::cpp::Function::return_type_ |
|
private |
The documentation for this class was generated from the following files: