SetSubType

Description

Sets the type of a scope after it matches a fusion pattern.

Prototype

APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments instead.

ScopePattern &SetSubType(const std::string &sub_type);
ScopePattern &SetSubType(const char_t *sub_type);

Parameters

Parameter

Input/Output

Description

sub_type

Input

Scope subtype name

Returns

Parameter

Description

-

Reference to the current object

Restrictions

None