Properties
Private project
project: SanProject
Private tsRoot
tsRoot: string
Methods
compileToSource
- compileToSource(sourceFile: SanSourceFile, options: CompileOptions): string
-
Parameters
-
sourceFile: SanSourceFile
-
Returns string
Private emitComponent
-
Parameters
-
sourceFile: SanSourceFile
-
-
Returns undefined | ""
Private emitRenderer
-
Parameters
-
sourceFile: SanSourceFile
-
-
Returns void
Private normalizeCompilerOptions
- normalizeCompilerOptions(compilerOptions: CompilerOptions): CompilerOptions
-
Parameters
-
compilerOptions: CompilerOptions
Returns CompilerOptions
Static emitHelpers
- emitHelpers(__namedParameters?: { emitHeader: boolean; namespace: string }): string
-
Parameters
-
Default value __namedParameters: { emitHeader: boolean; namespace: string } = {}
-
emitHeader: boolean
-
namespace: string
Returns string
产出组件代码,比如组件类的 PHP 代码,供 render 使用