合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
字段访问通过点操作符来表示,点号后跟字段的名称。 > Field access is expressed by using the dot . followed by the name of the field. ~~~ object.fieldName ~~~ 这个语法同样用于访问包中的类型,形式为 pack.Type 。 > This syntax is also used to access types within packages in the form of pack.Type. 类型检查器确保一个被访问的字段实际上存在,并可以应用根据字段的性质进行转换。如果一个字段访问是模糊的,理解解析顺序(第3.7.3)可以提供帮助。 > The typer ensures that an accessed field actually exist and may apply transformations depending on the nature of the field. If a field access is ambiguous, understanding the resolution order (3.7.3) may help.