minimatch
GitHub
isaacs projects
Preparing search index...
ast
AST
Class AST
Index
Constructors
constructor
Properties
type
Accessors
has
Magic
options
Methods
clone
copy
In
is
End
is
Start
push
to
JSON
to
MM
Pattern
to
Reg
Exp
Source
to
String
from
Glob
Constructors
constructor
new
AST
(
type
:
null
|
ExtglobType
,
parent
?:
AST
,
options
?:
MinimatchOptions
)
:
AST
Parameters
type
:
null
|
ExtglobType
Optional
parent
:
AST
options
:
MinimatchOptions
= {}
Returns
AST
Properties
type
type
:
null
|
ExtglobType
Accessors
has
Magic
get
hasMagic
()
:
undefined
|
boolean
Returns
undefined
|
boolean
options
get
options
()
:
MinimatchOptions
Returns
MinimatchOptions
Methods
clone
clone
(
parent
:
AST
)
:
AST
Parameters
parent
:
AST
Returns
AST
copy
In
copyIn
(
part
:
string
|
AST
)
:
void
Parameters
part
:
string
|
AST
Returns
void
is
End
isEnd
()
:
boolean
Returns
boolean
is
Start
isStart
()
:
boolean
Returns
boolean
push
push
(
...
parts
:
(
string
|
AST
)
[]
)
:
void
Parameters
...
parts
: (
string
|
AST
)
[]
Returns
void
to
JSON
toJSON
()
:
any
[]
Returns
any
[]
to
MM
Pattern
toMMPattern
()
:
string
|
MMRegExp
Returns
string
|
MMRegExp
to
Reg
Exp
Source
toRegExpSource
(
allowDot
?:
boolean
,
)
:
[
re
:
string
,
body
:
string
,
hasMagic
:
boolean
,
uflag
:
boolean
]
Parameters
Optional
allowDot
:
boolean
Returns
[
re
:
string
,
body
:
string
,
hasMagic
:
boolean
,
uflag
:
boolean
]
to
String
toString
()
:
string
Returns
string
Static
from
Glob
fromGlob
(
pattern
:
string
,
options
?:
MinimatchOptions
)
:
AST
Parameters
pattern
:
string
options
:
MinimatchOptions
= {}
Returns
AST
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
type
Accessors
has
Magic
options
Methods
clone
copy
In
is
End
is
Start
push
to
JSON
to
MM
Pattern
to
Reg
Exp
Source
to
String
from
Glob
GitHub
isaacs projects
minimatch
Loading...