Function Graph Overview
Preparing search index...
switch-utils
CaseCollectionCallbacks
Type Alias CaseCollectionCallbacks
type
CaseCollectionCallbacks
=
{
getCases
(
switchSyntax
:
Node
)
:
Node
[]
;
parseCase
(
caseSyntax
:
Node
,
)
:
{
isDefault
:
boolean
;
consequence
:
SyntaxNode
[]
;
hasFallthrough
:
boolean
;
}
;
}
Index
Methods
get
Cases
parse
Case
Methods
get
Cases
getCases
(
switchSyntax
:
Node
)
:
Node
[]
Parameters
switchSyntax
:
Node
Returns
Node
[]
parse
Case
parseCase
(
caseSyntax
:
Node
,
)
:
{
isDefault
:
boolean
;
consequence
:
SyntaxNode
[]
;
hasFallthrough
:
boolean
;
}
Parameters
caseSyntax
:
Node
Returns
{
isDefault
:
boolean
;
consequence
:
SyntaxNode
[]
;
hasFallthrough
:
boolean
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
get
Cases
parse
Case
Function Graph Overview
Loading...