Preparing search index...
The search index is not available
@saber2pr/ts-compiler
@saber2pr/ts-compiler
traverser
traverseFromString
Function traverseFromString
traverse
From
String
(
code
,
callback
,
scriptKind
?
)
:
void
从一段代码创建一个ast并遍历节点
Parameters
code
:
string
callback
:
(
(
node
)
=>
void
)
(
node
)
:
void
Parameters
node
:
Node
Returns
void
Optional
scriptKind
:
ScriptKind
Returns
void
Deprecated
use traverse instead
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@saber2pr/ts-compiler
CompilerOptions
FileImport
ImportStatement
compile
contextModuleMap
createTransformer
getImports
parseImportNames
readTsExport
readTsFileExport
runCode
transform
transpile
visitNodes
compiler
transformer
traverser
utils
EntryResult
scan
walkFile
Loading...
Generated using
TypeDoc
从一段代码创建一个ast并遍历节点