[fpc-pascal] fcl-passrc method/function invocations
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Oct 15 23:02:18 CEST 2019
On Tue, 15 Oct 2019 16:38:35 -0400
Ryan Joseph <genericptr at gmail.com> wrote:
> Another related question about functions.
>
> In unit files there is a InterfaceSection/ImplementationSection in
> TPasModule and I can use those to get a list of functions (because
> they descend from TPasSection). In a program file there only seems to
> be a InitializationSection but this doesn’t contain the same list of
> functions.
>
> So, how do I find the functions in a program module?
When parsing a program the module is a TPasProgram, which has a
ProgramSection.
Mattias
More information about the fpc-pascal
mailing list