CParser.cparseFunctionDefinition

C11 Function Definitions function-definition declaration-specifiers declarator declaration-list (opt) compound-statement

declaration-list: declaration declaration-list declaration

It's already been parsed up to the declaration-list (opt). Pick it up from there.

class CParser(AST)
AST.Dsymbol
cparseFunctionDefinition
(,
AST.TypeFunction ft
,)

Parameters

id Identifier

function identifier

ft AST.TypeFunction

function type

specifier Specifier

function specifiers

Return Value

Type: AST.Dsymbol

Dsymbol for the function

Meta