Skip to content

PartitionByFunctionCall

cpgames edited this page Jul 12, 2022 · 5 revisions

image

Partitions input Partition by all function calls. Furthermore function calls will be partitioned by name and parameter blocks.

Note: This will also extract nested function calls, e.g. Foo(Bar()) will return 2 partitions Foo(Bar()) and Bar().


Input Ports:

Start - execution entry.
Partition (type: Partition) - input partition.
FunctionNameFilter (type: regex string) - only function calls with names matching this filter will be returned. If left empty, all function calls will be returned. ParameterNameFilter (type: regex string) - only function calls with parameter block matching this filter will be returned. If left empty, all function calls will be returned.


Output Ports:

Done - execution exit.
Loop - executes for each function call.
FunctionCall (type: Partition) - partitioned function call.
FunctionName (type: Partition) - name of the function. Parameters (type: Partition) - parameter block. Note: you will still need to partition parameter block with PartitionByParameters node to access individual parameters.


Example:

image

Clone this wiki locally