rawtypes.generator.cpp_writer module

Inheritance diagram of rawtypes.generator.cpp_writer
class rawtypes.generator.cpp_writer.ParamInfo(param, type, default_value)

ベースクラス: NamedTuple

param: rawtypes.parser.type_context.ParamContext

Alias for field number 0

type: rawtypes.interpreted_types.basetype.BaseType

Alias for field number 1

default_value: str

Alias for field number 2

property index: int

Return first index of value.

Raises ValueError if the value is not present.

property cpp_param_declare: str

declara t0. PyObject *t0 = NULL;

property cpp_extract_name: str

load t0. &t0

property cpp_from_py: str

t0 to p0. CXSourceLocation p0 = ctypes_get_pointer<CXSourceLocation>(t0);

property cpp_call_name: str
rawtypes.generator.cpp_writer.to_fromat(params: List[rawtypes.generator.cpp_writer.ParamInfo]) str
class rawtypes.generator.cpp_writer.FunctionCustomization(name, param_override)

ベースクラス: NamedTuple

name: str

Alias for field number 0

param_override: Dict[str, rawtypes.interpreted_types.basetype.BaseType]

Alias for field number 1

rawtypes.generator.cpp_writer.to_c_function(env: jinja2.environment.Environment, function_cursor: rawtypes.parser.function_cursor.FunctionCursor, type_manager: rawtypes.interpreted_types.type_manager.TypeManager, *, namespace: str = '', func_name: str = '', custom: Optional[rawtypes.generator.cpp_writer.FunctionCustomization] = None) str
rawtypes.generator.cpp_writer.to_c_method(env: jinja2.environment.Environment, c: rawtypes.clang.cindex.Cursor, m: rawtypes.parser.function_cursor.FunctionCursor, type_manager: rawtypes.interpreted_types.type_manager.TypeManager) str