📄 frmyuyi.frm
字号:
VERSION 5.00
Begin VB.Form frmYuYI
AutoRedraw = -1 'True
BackColor = &H0080FF80&
Caption = "语 义 分 析 "
ClientHeight = 8310
ClientLeft = 165
ClientTop = 735
ClientWidth = 8880
LinkTopic = "Form3"
ScaleHeight = 8310
ScaleWidth = 8880
StartUpPosition = 3 '窗口缺省
WindowState = 2 'Maximized
Begin VB.ListBox lstToken
BackColor = &H000080FF&
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 2220
ItemData = "frmYuYi.frx":0000
Left = 120
List = "frmYuYi.frx":001F
TabIndex = 16
Top = 600
Width = 2175
End
Begin VB.CommandButton parse
BackColor = &H000000FF&
Caption = "开始"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 2640
Style = 1 'Graphical
TabIndex = 15
Top = 120
Width = 855
End
Begin VB.HScrollBar HScroll1
Height = 255
Left = 120
Max = 2000
TabIndex = 14
Top = 3000
Value = 100
Width = 2055
End
Begin VB.CommandButton decllist
BackColor = &H00FF0000&
Caption = "声明语句序列"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 4080
Style = 1 'Graphical
TabIndex = 13
Top = 120
Width = 1455
End
Begin VB.CommandButton exprstat
BackColor = &H00FF0000&
Caption = "表达式语句"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 120
Style = 1 'Graphical
TabIndex = 12
Top = 5640
Width = 1575
End
Begin VB.CommandButton expr
BackColor = &H00FF0000&
Caption = "表达式"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 2400
Style = 1 'Graphical
TabIndex = 11
Top = 5640
Width = 1335
End
Begin VB.CommandButton boolexpr
BackColor = &H00FF0000&
Caption = "布尔表达式"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 3960
Style = 1 'Graphical
TabIndex = 10
Top = 5640
Width = 1215
End
Begin VB.CommandButton addexpr
BackColor = &H00FF0000&
Caption = "算术表达式"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 5760
Style = 1 'Graphical
TabIndex = 9
Top = 5640
Width = 1215
End
Begin VB.CommandButton term
BackColor = &H00FF0000&
Caption = "项表达式"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 7560
Style = 1 'Graphical
TabIndex = 8
Top = 5640
Width = 975
End
Begin VB.CommandButton factor
BackColor = &H00FF0000&
Caption = "因子表达式"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 8880
Style = 1 'Graphical
TabIndex = 7
Top = 5640
Width = 1215
End
Begin VB.CommandButton if
BackColor = &H00FF0000&
Caption = "IF语句"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 8160
Style = 1 'Graphical
TabIndex = 6
Top = 120
Width = 735
End
Begin VB.Timer Timer1
Interval = 100
Left = 2040
Top = 0
End
Begin VB.CommandButton statlist
BackColor = &H00FF0000&
Caption = "语句序列"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 6360
Style = 1 'Graphical
TabIndex = 5
Top = 120
Width = 1095
End
Begin VB.CommandButton stat
BackColor = &H00FF0000&
Caption = "语句"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 6240
Style = 1 'Graphical
TabIndex = 4
Top = 1320
Width = 1215
End
Begin VB.CommandButton while
BackColor = &H00FF0000&
Caption = "WHILE语句"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 9720
Style = 1 'Graphical
TabIndex = 3
Top = 120
Width = 1215
End
Begin VB.CommandButton compound
BackColor = &H000000FF&
Caption = "复合语句"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 4320
Style = 1 'Graphical
TabIndex = 2
Top = 3240
Width = 975
End
Begin VB.CommandButton read
BackColor = &H00C00000&
Caption = "READ语句"
Height = 255
Left = 360
Style = 1 'Graphical
TabIndex = 1
Top = 3360
Width = 975
End
Begin VB.CommandButton write
BackColor = &H00C00000&
Caption = "WRITE语句"
Height = 255
Left = 2520
Style = 1 'Graphical
TabIndex = 0
Top = 3720
Width = 1095
End
Begin VB.Label Label0
AutoSize = -1 'True
BackColor = &H0080C0FF&
BorderStyle = 1 'Fixed Single
Caption = "语法分析输入:"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 345
Left = 0
TabIndex = 171
Top = 120
Width = 2175
End
Begin VB.Label Label1
AutoSize = -1 'True
BackColor = &H00FFFF00&
BorderStyle = 1 'Fixed Single
Caption = "读符号"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Index = 0
Left = 2760
TabIndex = 170
Top = 480
Width = 660
End
Begin VB.Label Label1
AutoSize = -1 'True
BackColor = &H00FFFF00&
BorderStyle = 1 'Fixed Single
Caption = "是{?"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Index = 1
Left = 2760
TabIndex = 169
Top = 840
Width = 570
End
Begin VB.Label LabelStr
AutoSize = -1 'True
BackColor = &H0000FFFF&
Caption = " "
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 1680
TabIndex = 168
Top = 0
Visible = 0 'False
Width = 150
End
Begin VB.Label Label1
AutoSize = -1 'True
BackColor = &H00FFFF00&
BorderStyle = 1 'Fixed Single
Caption = "读符号"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Index = 2
Left = 2640
TabIndex = 167
Top = 1200
Width = 660
End
Begin VB.Label Label1
AutoSize = -1 'True
BackColor = &H00FFFF00&
BorderStyle = 1 'Fixed Single
Caption = "是}?"
BeginProperty Font
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -