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
Name | Type | Description |
---|---|---|
ifNodeType | string | The node type for if statements |
Returns
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
An extractor that will exctract else if
branches
Defined in
languages/elseIfExtractor.ts:17