rawtypes.parser.struct_cursor module

Inheritance diagram of rawtypes.parser.struct_cursor
class rawtypes.parser.struct_cursor.WrapFlags(submodule, name, fields, custom_fields, methods, custom_methods, default_constructor)

ベースクラス: NamedTuple

submodule: str

Alias for field number 0

name: str

Alias for field number 1

fields: bool

Alias for field number 2

custom_fields: Dict[str, str]

Alias for field number 3

methods: Union[bool, Tuple[str, ...]]

Alias for field number 4

custom_methods: Tuple[str, ...]

Alias for field number 5

default_constructor: bool

Alias for field number 6

rawtypes.parser.struct_cursor.is_forward_declaration(cursor: rawtypes.clang.cindex.Cursor) bool

https://joshpeterson.github.io/identifying-a-forward-declaration-with-libclang

rawtypes.parser.struct_cursor.get_struct_children(in_union: bool, cursors: Tuple[rawtypes.clang.cindex.Cursor, ...]) Iterable[Union[rawtypes.parser.type_context.FieldContext, rawtypes.parser.struct_cursor.StructCursor]]
class rawtypes.parser.struct_cursor.StructCursor(cursors, record, is_union)

ベースクラス: NamedTuple

cursors: Tuple[rawtypes.clang.cindex.Cursor, ...]

Alias for field number 0

record: rawtypes.clang.cindex.Type

Alias for field number 1

is_union: bool

Alias for field number 2

property cursor: rawtypes.clang.cindex.Cursor
property spelling: str
property name: str
property path: pathlib.Path
property is_forward_decl: bool
property is_template: bool
property decls: List[rawtypes.parser.struct_cursor.StructCursor]
property fields: List[rawtypes.parser.type_context.FieldContext]
property sizeof: int
get_methods(flags: Optional[rawtypes.parser.struct_cursor.WrapFlags] = None) List[rawtypes.parser.function_cursor.FunctionCursor]
get_method(name: str) rawtypes.parser.function_cursor.FunctionCursor