@wp-blocks/make-pot
Preparing search index...
fs/glob
getParser
Function getParser
getParser
(
file
:
string
)
:
string
|
{
language
:
unknown
;
name
:
string
}
|
null
Return the parser based on the file extension
Parameters
file
:
string
Path to the file
Returns
string
|
{
language
:
unknown
;
name
:
string
}
|
null
the parser to be used with the file or null if no parser is found
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@wp-blocks/make-pot
Loading...
Return the parser based on the file extension