declarations
abstract fun declarations(includeNested: Boolean = true, includeLocal: Boolean = true): List<KoBaseDeclaration>
The declarations present in the declaration.
Return
a list of KoBaseDeclaration representing the declarations in the declaration.
Parameters
includeNested
specifies whether to include nested declarations.
includeLocal
specifies whether to include local declarations.