File: fShowParseTree.lfm

package info (click to toggle)
lazarus 4.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 275,760 kB
  • sloc: pascal: 2,341,904; xml: 509,420; makefile: 348,726; cpp: 93,608; sh: 3,387; java: 609; perl: 297; sql: 222; ansic: 137
file content (173 lines) | stat: -rw-r--r-- 3,826 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
169
170
171
172
173
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
  OnKeyUp = FormKeyUp
  OnShow = FormShow
  Position = poScreenCenter
  LCLVersion = '2.3.0.0'
  object StatusBar1: TStatusBar
    Left = 0
    Height = 23
    Top = 532
    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 = 15
      Top = 31
      Width = 87
      Caption = 'Tree has ? nodes'
      Color = clDefault
      ParentColor = False
    end
    object lblTreeDepth: TLabel
      Left = 11
      Height = 15
      Top = 55
      Width = 130
      Caption = 'Tree has max depth of ??'
      Color = clDefault
      ParentColor = False
    end
    object cbShowWhiteSpace: TCheckBox
      Left = 11
      Height = 19
      Top = 5
      Width = 109
      Caption = 'Show whitespace'
      OnClick = cbShowWhiteSpaceClick
      TabOrder = 0
    end
  end
  object pnlBottom: TPanel
    Left = 0
    Height = 50
    Top = 482
    Width = 581
    Align = alBottom
    BevelOuter = bvNone
    ClientHeight = 50
    ClientWidth = 581
    TabOrder = 2
    object lblCurrent: TLabel
      Left = 11
      Height = 15
      Top = 2
      Width = 43
      Caption = 'Current:'
      Color = clDefault
      ParentColor = False
    end
    object lblDepth: TLabel
      Left = 11
      Height = 15
      Top = 26
      Width = 35
      Caption = 'Depth:'
      Color = clDefault
      ParentColor = False
    end
    object lblTotalNodeCount: TLabel
      Left = 271
      Height = 15
      Top = 26
      Width = 94
      Caption = 'Total node count:'
      Color = clDefault
      ParentColor = False
    end
    object lblImmediateChildCount: TLabel
      Left = 271
      Height = 15
      Top = 2
      Width = 123
      Caption = 'Immediate child count:'
      Color = clDefault
      ParentColor = False
    end
  end
  object pcPages: TPageControl
    Left = 6
    Height = 385
    Top = 91
    Width = 569
    ActivePage = tsTokens
    Align = alClient
    BorderSpacing.Around = 6
    TabIndex = 0
    TabOrder = 3
    object tsTokens: TTabSheet
      Caption = 'Tokens'
      ClientHeight = 357
      ClientWidth = 561
      object lvTokens: TListView
        Left = 0
        Height = 357
        Top = 0
        Width = 561
        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 = 357
      ClientWidth = 561
      ImageIndex = 1
      object tvParseTree: TTreeView
        Left = 0
        Height = 357
        Top = 0
        Width = 561
        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