Class AbstractFileAbstract
Constructors
constructor
- new AbstractFile(workspace, props, isSyncCode?): AbstractFile
Properties
_cleanCode
_cleanCode: string
errorMessage
errorMessage: string
Readonly
filename
filename: string
lastModified
lastModified: number
Accessors
cleanCode
- get cleanCode(): string
Returns string
code
- get code(): string
Returns string
Methods
Abstract
update
- update(code?): void
Returns void
普通文件抽象基类,不进行 AST 解析