要点汇总
顶层概念
顶层概念是指 app 和 module 下一级的概念。
- Entity
- Structure
- Enum
- Logic
- Function
- Interface
- View
- Process
- Role
- Variable
- ViewComponent
目前用 namespace 和 name 建立引用的点,以及可能的命名空间值
- 调用内置函数:
CallFunction.calleeNamespace,CallFunction.calleeNamenasl.util
- 调用接口:
CallInterface.calleeNamespace,CallInterface.calleeNameapis.*.interfaces
- 调用逻辑:
CallLogic.calleeNamespace,CallLogic.calleeNameapp.logicsapp.dataSources.defaultDS.entities.*.logicsapp.processes.*.logicsapp.processes.*.elements.*.logicselements.*.logics''extensions.*.logicsnasl.ui.*nasl.util.*nasl.browser.*
- 绑定事件:
BindEvent.calleeNamespace,BindEvent.calleeName- 同上
- 验证规则:
ValidationRule.calleeNamespace,ValidationRule.calleeNamenasl.validation
- 跳转页面:
Destination.viewNamespace,Destination.viewNameapp.views.*.views
- 类型注解:
TypeAnnotation.typeNamespace,TypeAnnotation.typeNameapp.dataSources.defaultDS.entitiesapp.structuresapp.enumsapis.*.structuresextensions.*.structuresnasl.corenasl.collectionnasl.ui
- 实体关联实体:
EntityProperty.relationNamespace,EntityProperty.relationNameapp.dataSources.defaultDS.entities
- 数据查询关联实体:
QueryFromExpression.entityNamespace,QueryFromExpression.entityNameapp.dataSources.defaultDS.entities
- 数据查询关联实体:
QueryJoinExpression.entityNamespace,QueryJoinExpression.entityNameapp.dataSources.defaultDS.entities
- 标识符关联枚举值,关联某命名空间的变量:
Identifier.namespace,Identifier.nameapp.enumsnasl.browser