Skip to main content
Version: Latest(3.13)

要点汇总

顶层概念​

顶层概念是指 app 和 module 下一级的概念。

  • Entity
  • Structure
  • Enum
  • Logic
  • Function
  • Interface
  • View
  • Process
  • Role
  • Variable
  • ViewComponent

目前用 namespace 和 name 建立引用的点,以及可能的命名空间值​

  • 调用内置函数:CallFunction.calleeNamespace, CallFunction.calleeName
    • nasl.util
  • 调用接口:CallInterface.calleeNamespace, CallInterface.calleeName
    • apis.*.interfaces
  • 调用逻辑:CallLogic.calleeNamespace, CallLogic.calleeName
    • app.logics
    • app.dataSources.defaultDS.entities.*.logics
    • app.processes.*.logics
    • app.processes.*.elements.*.logics
    • elements.*.logics
    • ''
    • extensions.*.logics
    • nasl.ui.*
    • nasl.util.*
    • nasl.browser.*
  • 绑定事件:BindEvent.calleeNamespace, BindEvent.calleeName
    • 同上
  • 验证规则:ValidationRule.calleeNamespace, ValidationRule.calleeName
    • nasl.validation
  • 跳转页面:Destination.viewNamespace, Destination.viewName
    • app.views.*.views
  • 类型注解:TypeAnnotation.typeNamespace, TypeAnnotation.typeName
    • app.dataSources.defaultDS.entities
    • app.structures
    • app.enums
    • apis.*.structures
    • extensions.*.structures
    • nasl.core
    • nasl.collection
    • nasl.ui
  • 实体关联实体:EntityProperty.relationNamespace, EntityProperty.relationName
    • app.dataSources.defaultDS.entities
  • 数据查询关联实体:QueryFromExpression.entityNamespace, QueryFromExpression.entityName
    • app.dataSources.defaultDS.entities
  • 数据查询关联实体:QueryJoinExpression.entityNamespace, QueryJoinExpression.entityName
    • app.dataSources.defaultDS.entities
  • 标识符关联枚举值,关联某命名空间的变量:Identifier.namespace, Identifier.name
    • app.enums
    • nasl.browser