API reference
python:arx:arx.parser.declarations.DeclarationParserMixin.parse_prototype
method parse_prototype
parse_prototype(expect_colon: bool) -> astx.FunctionPrototype
Source: packages/arx/src/arx/parser/declarations.py:1201
Parse function/extern prototypes with declaration modifiers.
Parameters
- expect_colon — Whether to use expect colon.; Type: bool
Returns
Parsed function/extern prototypes with declaration modifiers.; Type: astx.FunctionPrototype