Skip to main content

Module: languages/elseIfExtractor

Functions

elseExtractor

elseExtractor(ifNodeType): SelectionExtractor

Returns an extractor that can be used to extract else branches in languages with C-like structure, where the if portion of an else if structure is structurally just an arbitrary statement that happens to be an if statement.

Parameters

NameTypeDescription
ifNodeTypestringThe node type for if statements

Returns

SelectionExtractor

An extractor that will exctract else branches

Defined in

languages/elseIfExtractor.ts:82


elseIfExtractor

elseIfExtractor(): SelectionExtractor

Returns an extractor that can be used to extract else if branches in languages with C-like structure, where the if portion of an else if structure is structurally just an arbitrary statement that happens to be an if statement.

Returns

SelectionExtractor

An extractor that will exctract else if branches

Defined in

languages/elseIfExtractor.ts:17