Preparing search index...
The search index is not available
Tango LowCode Builder
Tango LowCode Builder
@music163/tango-core
TangoFile
Class TangoFile
普通文件抽象基类,不进行 AST 解析
Hierarchy (
view full
)
AbstractFile
TangoFile
Index
Constructors
constructor
Properties
_clean
Code
_code
error
Message
filename
is
Error
last
Modified
type
workspace
Accessors
clean
Code
code
Methods
update
Constructors
constructor
new
Tango
File
(
workspace
,
props
)
:
TangoFile
Parameters
workspace
:
AbstractWorkspace
props
:
IFileConfig
Returns
TangoFile
Properties
_clean
Code
_clean
Code
:
string
_code
_code
:
string
error
Message
error
Message
:
string
文件解析错误消息
Readonly
filename
filename
:
string
文件名
is
Error
is
Error
:
boolean
文件解析是否出错
last
Modified
last
Modified
:
number
最近修改的时间戳
Readonly
type
type
:
FileType
文件类型
Readonly
workspace
workspace
:
AbstractWorkspace
Accessors
clean
Code
get
cleanCode
(
)
:
string
Returns
string
code
get
code
(
)
:
string
Returns
string
Methods
update
update
(
code
?
)
:
void
更新文件内容
Parameters
Optional
code
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_clean
Code
_code
error
Message
filename
is
Error
last
Modified
type
workspace
Accessors
clean
Code
code
Methods
update
Tango LowCode Builder
Loading...
普通文件抽象基类,不进行 AST 解析