Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

shadow

shadow(
l_symbols
[ t_namespace ] 
)
=> t

Description

Adds symbols s_symbol to the shadow list of the default namespace. The symbols which are added to the shadow list are not overridden by import.

Arguments

l_symbols

Specify a list of symbols to be protected in the default namespace.

t_namespace

(Optional) Specify the namespace in which these symbols should be protected. The default value is the "IL" namespace.

Value Returned

t

Indicates that the symbol was added to the shadow list of the current namespace.

Examples

addToExportList('(p1:::x p1:::y p1:::z))
=> t
addToExportList('(p2:::x p2:::y p2:::z))
=> t
useNamespace("p1")
=> t
useNamespace("p2")
*error* useNamespace symbol name conflict - p2::x p2::y p2::z
unuseNamespace("p1")
shadow(shadow('p1::x  p1::y  p1::z))
=> t
useNamespace("p2")
=> t

Related Topics

Namespace Functions


Return to top
 ⠀
X