AddDestination(BasicBlock,Condition,string?)

Method in BasicBlock

Summary

Adds a new destination to this block that points to a node, with a option's line ID for context.

public void AddDestination(BasicBlock descendant, Condition condition, string? lineID)

Parameters

Name
Description

The new descendant node.

The condition under which the node descendant will be run.

string lineID

The line ID of the option that must be selected in order for descendant to run.

Last updated

Yarn Spinnerยฎ and Secret Labยฎ are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.