Module.findSection

Finds a section within the module, and optionally limits the search to be within a specific segment, if applicable.

class Module
@nogc final
findSection
(
string section
,
string segment = null
)

Parameters

section string

The section to find

segment string

The segment to find it in, or null.

Return Value

A reference to a section info object describing the section, owned by the module, or null if not found.

Meta