curtis
9小時前 0756bf12d10cf1b7f78c571de0a9ad69cbaeb7ca
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
/** lIndex matcher, 於 {import('src/CB_IMGPSScanImp.pas.bk)} 找出方法分類中的 lIndex */
type MethodLinenoMather = string
 
/** 方法分類, 可以有多個分類, 用於找出不同分類的集合, 分類方式見需求 B1.1.5 @see {@link scanimpl_annalysis.md}*/
type Tags = string[]
/** 方實作中引用的其他依賴 */
type Deps = string[]
type MethodName = string
 
/** 定義 Pascal 方法區段 */
type PascalMethodDef = {
  matcher: MethodLinenoMather,
  name: MethodName,
  /** 方法分類 */
  tags: Tags
  /** 引用相依 */
  deps: Deps
  /** 定義 Pascal 方法區段 l, 代表該方法所在行號 lbound, 該值不可能為-1 */
  lIndex: number
  /** 定義 Pascal 方法區段 r, 代表該方法所在行號 rbound, 該值不可能為-1  */
  rIndex: number
  /** 生成方法描述, 可有可無 */
  description: string
}