mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-21 20:15:24 -04:00
代码间距 Signed-off-by: jiangbo <jiangbo91@huawei.com>
This commit is contained in:
@@ -1292,6 +1292,7 @@ export function getName(node: ts.ExpressionStatement | ts.Expression): string {
|
||||
}
|
||||
return name;
|
||||
}
|
||||
|
||||
function isDecoratedAttributeName(temp: ts.PropertyAccessExpression): boolean {
|
||||
if (temp.expression && temp.expression.getText() === THIS) {
|
||||
return true;
|
||||
@@ -1300,7 +1301,6 @@ function isDecoratedAttributeName(temp: ts.PropertyAccessExpression): boolean {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export function isAttributeNode(node: ts.ExpressionStatement): boolean {
|
||||
let temp: any = node.expression;
|
||||
let name: string;
|
||||
|
||||
Reference in New Issue
Block a user