我有一个DF Weather_opinion: "the weather is cold"
"it's quite sunny today"
"it's raining"
"today the climate seems to be pleasant"
"I feel dizzy today"
和一个列表: list_tags = ["cold", "sunny" "rain
我正在考虑如何在Typescript中执行数据绑定,而不使用脏检查或生成getter和setter。我试图确定是否有可能(假设完全使用类型注释)找到某个类的某个字段使用静态分析分配给的所有位置。目的是生成调用函数来处理幕后数据绑定,这些函数可以在检查时删除实例中的混乱,并在运行时更好,因为getters/setters(我记得)比虚拟机难以优化属性分配。 例如 export class Vecto