File: fShowParseTree.lfm

package info (click to toggle)
lazarus 2.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 214,460 kB
  • sloc: pascal: 1,862,622; xml: 265,709; cpp: 56,595; sh: 3,008; java: 609; makefile: 535; perl: 297; sql: 222; ansic: 137
file content (168 lines) | stat: -rw-r--r-- 3,708 bytes parent folder | download | duplicates (3)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
object frmShowParseTree: TfrmShowParseTree
  Left = 319
  Height = 555
  Top = 116
  Width = 581
  ActiveControl = pcPages
  BorderIcons = [biSystemMenu, biMaximize]
  Caption = 'JCF Parse Tree'
  ClientHeight = 555
  ClientWidth = 581
  KeyPreview = True
  OnCreate = FormCreate
  OnKeyUp = FormKeyUp
  OnShow = FormShow
  Position = poScreenCenter
  LCLVersion = '1.9.0.0'
  object StatusBar1: TStatusBar
    Left = 0
    Height = 21
    Top = 534
    Width = 581
    Panels = <>
  end
  object pnlTop: TPanel
    Left = 0
    Height = 85
    Top = 0
    Width = 581
    Align = alTop
    BevelOuter = bvNone
    ClientHeight = 85
    ClientWidth = 581
    Constraints.MinHeight = 67
    Constraints.MinWidth = 67
    TabOrder = 1
    object lblTreeCount: TLabel
      Left = 11
      Height = 17
      Top = 31
      Width = 110
      Caption = 'Tree has ? nodes'
      ParentColor = False
    end
    object lblTreeDepth: TLabel
      Left = 11
      Height = 17
      Top = 55
      Width = 165
      Caption = 'Tree has max depth of ??'
      ParentColor = False
    end
    object cbShowWhiteSpace: TCheckBox
      Left = 11
      Height = 24
      Top = 5
      Width = 145
      Caption = 'Show whitespace'
      OnClick = cbShowWhiteSpaceClick
      TabOrder = 0
    end
  end
  object pnlBottom: TPanel
    Left = 0
    Height = 50
    Top = 484
    Width = 581
    Align = alBottom
    BevelOuter = bvNone
    ClientHeight = 50
    ClientWidth = 581
    TabOrder = 2
    object lblCurrent: TLabel
      Left = 11
      Height = 17
      Top = 2
      Width = 57
      Caption = 'Current:'
      ParentColor = False
    end
    object lblDepth: TLabel
      Left = 11
      Height = 17
      Top = 26
      Width = 47
      Caption = 'Depth:'
      ParentColor = False
    end
    object lblTotalNodeCount: TLabel
      Left = 271
      Height = 17
      Top = 26
      Width = 119
      Caption = 'Total node count:'
      ParentColor = False
    end
    object lblImmediateChildCount: TLabel
      Left = 271
      Height = 17
      Top = 2
      Width = 156
      Caption = 'Immediate child count:'
      ParentColor = False
    end
  end
  object pcPages: TPageControl
    Left = 6
    Height = 387
    Top = 91
    Width = 569
    ActivePage = tsTokens
    Align = alClient
    BorderSpacing.Around = 6
    TabIndex = 0
    TabOrder = 3
    object tsTokens: TTabSheet
      Caption = 'Tokens'
      ClientHeight = 356
      ClientWidth = 565
      object lvTokens: TListView
        Left = 0
        Height = 356
        Top = 0
        Width = 565
        Align = alClient
        Columns = <        
          item
            Caption = 'Index'
            Width = 63
          end        
          item
            Caption = 'Type'
            Width = 185
          end        
          item
            Caption = 'Text'
            Width = 302
          end>
        ReadOnly = True
        RowSelect = True
        SortType = stText
        TabOrder = 0
        ViewStyle = vsReport
        OnDblClick = lvTokensDblClick
        OnSelectItem = lvTokensSelectItem
      end
    end
    object tsTree: TTabSheet
      Caption = 'Tree'
      ClientHeight = 356
      ClientWidth = 565
      ImageIndex = 1
      object tvParseTree: TTreeView
        Left = 0
        Height = 363
        Top = 0
        Width = 577
        Align = alClient
        HideSelection = False
        Indent = 22
        RightClickSelect = True
        TabOrder = 0
        OnChange = tvParseTreeChange
        OnDblClick = tvParseTreeDblClick
        Options = [tvoAutoItemHeight, tvoKeepCollapsedNodes, tvoRightClickSelect, tvoShowButtons, tvoShowLines, tvoShowRoot, tvoToolTips]
      end
    end
  end
end