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