API reference

python:astx:astx.callables.FunctionPrototype

class FunctionPrototype

FunctionPrototype(name: str, args: Arguments, return_type: AnyType, scope: ScopeKind = ScopeKind.global_, visibility: VisibilityKind = VisibilityKind.public, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None)

Source: packages/astx/src/astx/callables.py:326

AST class for function prototype declaration.

Attributes

Methods

Attributes

Search documentation

Type to search.