@arcmantle/lit-jsx
Preparing search index...
compiler/import-discovery
ImportDiscovery
Class ImportDiscovery
Index
Constructors
constructor
Properties
program
Cache
resolved
Cache
valid
Calls
valid
Types
Methods
follow
Export
Chain
get
Program
Path
From
File
has
Valid
Call
Assignment
has
Valid
Type
Annotation
is
Dynamic
Or
Custom
E
Lement
resolve
Source
Path
clear
Cache
For
File
Constructors
constructor
new
ImportDiscovery
()
:
ImportDiscovery
Returns
ImportDiscovery
Properties
Static
Readonly
program
Cache
programCache
:
Map
<
string
,
NodePath
<
Program
>
>
= ...
Static
Readonly
resolved
Cache
resolvedCache
:
Map
<
string
,
Map
<
string
,
boolean
>
>
= ...
Static
Readonly
valid
Calls
validCalls
:
Set
<
string
>
= ...
Static
Readonly
valid
Types
validTypes
:
Set
<
string
>
= ...
Methods
Protected
follow
Export
Chain
followExportChain
(
programPath
:
NodePath
<
Program
>
,
importedName
:
string
,
)
:
undefined
|
{
binding
:
Binding
;
programPath
:
NodePath
<
Program
>
}
Parameters
programPath
:
NodePath
<
Program
>
importedName
:
string
Returns
undefined
|
{
binding
:
Binding
;
programPath
:
NodePath
<
Program
>
}
Protected
get
Program
Path
From
File
getProgramPathFromFile
(
filePath
:
string
)
:
undefined
|
NodePath
<
Program
>
Parameters
filePath
:
string
Returns
undefined
|
NodePath
<
Program
>
Protected
has
Valid
Call
Assignment
hasValidCallAssignment
(
programPath
:
NodePath
<
Program
>
,
binding
:
Binding
,
)
:
boolean
Parameters
programPath
:
NodePath
<
Program
>
binding
:
Binding
Returns
boolean
Protected
has
Valid
Type
Annotation
hasValidTypeAnnotation
(
typeAnnotation
:
|
undefined
|
null
|
Noop
|
TSTypeAnnotation
|
TypeAnnotation
,
)
:
boolean
Parameters
typeAnnotation
:
undefined
|
null
|
Noop
|
TSTypeAnnotation
|
TypeAnnotation
Returns
boolean
is
Dynamic
Or
Custom
E
Lement
isDynamicOrCustomELement
(
path
:
NodePath
)
:
boolean
Finds the definition of a JSX element in the given path.
Parameters
path
:
NodePath
Returns
boolean
Protected
resolve
Source
Path
resolveSourcePath
(
programPath
:
NodePath
<
Program
>
,
source
:
string
)
:
string
Parameters
programPath
:
NodePath
<
Program
>
source
:
string
Returns
string
Static
clear
Cache
For
File
clearCacheForFile
(
filePath
:
string
)
:
void
Parameters
filePath
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
program
Cache
resolved
Cache
valid
Calls
valid
Types
Methods
follow
Export
Chain
get
Program
Path
From
File
has
Valid
Call
Assignment
has
Valid
Type
Annotation
is
Dynamic
Or
Custom
E
Lement
resolve
Source
Path
clear
Cache
For
File
@arcmantle/lit-jsx
Loading...
Finds the definition of a JSX element in the given path.