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
include Nested
specifies whether to include nested declarations.
include Local
specifies whether to include local declarations.