Product Documentation
Cadence SKILL++ Object System Reference
Product Version IC23.1, June 2023

getApplicableMethods

getApplicableMethods(
s_gfName
l_args
)
=> l_funObjects

Description

Returns a list of applicable methods (funObjects) for the specified generic function for a given set of arguments. The returned list contains methods in the calling order.

Arguments

s_gfName

Specifies the name of the generic function

l_args

Specifies a list of arguments for which you want to retrieve the applicable methods

Values Returned

l_funObjects

Returns a list of methods in the calling order

If there are no applicable methods for the given arguments then an error is issued.

Examples

getApplicableMethods('testMethod list("test" 42))
=> (funobj@0x83b76d8 funobj@0x83b76f0 funobj@0x83b76a8 funobj@0x83b7678 funobj@0x83b7690 funobj@0x83b7630 funobj@0x83b7600 funobj@0x83b76c0 )

Related Topics

Generic Functions and Methods


Return to top
 ⠀
X