⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 parser.mdl

📁 编译器 用C语言对下述文法和单词表定义的语言设计编制一个编译器
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		    (object ClassAttribute "rotAngle"
			quid       	"481586D203C8"
			type       	"double")
		    (object ClassAttribute "_errorList"
			quid       	"481586DF03A9"
			type       	"QStringList")
		    (object ClassAttribute "glossary"
			quid       	"481586F10109"
			type       	"Golssary *")
		    (object ClassAttribute "..."
			quid       	"481586FF01E4")))
	    (object Class "ExprNode"
		quid       	"481587230177"
		stereotype 	"struct"
		class_attributes 	(list class_attribute_list
		    (object ClassAttribute "opCode"
			quid       	"4815873D0203"
			type       	"TokenType"
			quidu      	"4815754500AB"
			exportControl 	"Public")
		    (object ClassAttribute "Content"
			quid       	"481587510148"
			stereotype 	"union"
			exportControl 	"Public")))
	    (object Class "Content"
		quid       	"4815877301F4"
		stereotype 	"union"
		class_attributes 	(list class_attribute_list
		    (object ClassAttribute "CaseOperator"
			quid       	"481587860280"
			stereotype 	"struct"
			exportControl 	"Public")
		    (object ClassAttribute "CaseFunc"
			quid       	"481588010399"
			stereotype 	"struct"
			exportControl 	"Public")
		    (object ClassAttribute "CaseConst"
			quid       	"4815881201A5"
			type       	"double"
			exportControl 	"Public")
		    (object ClassAttribute "CaseParmPtr"
			quid       	"48158823035B"
			type       	"double"
			exportControl 	"Public")))
	    (object Class "CaseOperator"
		quid       	"4815883B0222"
		stereotype 	"struct"
		class_attributes 	(list class_attribute_list
		    (object ClassAttribute "Left"
			quid       	"4815885B0148"
			type       	"ExprNode *"
			quidu      	"481587230177"
			exportControl 	"Public")
		    (object ClassAttribute "Right"
			quid       	"481588680109"
			type       	"ExprNode *"
			quidu      	"481587230177"
			exportControl 	"Public")))
	    (object Class "CaseFunc"
		quid       	"4815887D035B"
		stereotype 	"struct"
		class_attributes 	(list class_attribute_list
		    (object ClassAttribute "Child"
			quid       	"481588930000"
			type       	"ExprNode *"
			quidu      	"481587230177"
			exportControl 	"Public")
		    (object ClassAttribute "MathFuncPtr"
			quid       	"481588AC00EA"
			type       	"double (*)(double)"
			exportControl 	"Public")))
	    (object Association "$UNNAMED$0"
		quid       	"481579550222"
		roles      	(list role_list
		    (object Role "$UNNAMED$1"
			quid       	"48157956007D"
			supplier   	"Logical View::Glossary"
			quidu      	"4815781C02DE"
			client_cardinality 	(value cardinality "1")
			exportControl 	"Private"
			is_aggregate 	TRUE)
		    (object Role "$UNNAMED$2"
			quid       	"48157956008C"
			supplier   	"Logical View::Token"
			quidu      	"481574F101B5"
			client_cardinality 	(value cardinality "1..*"))))
	    (object Association "$UNNAMED$3"
		quid       	"481588F1030D"
		roles      	(list role_list
		    (object Role "$UNNAMED$4"
			quid       	"481588F20157"
			supplier   	"Logical View::CaseOperator"
			quidu      	"4815883B0222"
			client_cardinality 	(value cardinality "1"))
		    (object Role "$UNNAMED$5"
			quid       	"481588F20159"
			supplier   	"Logical View::Content"
			quidu      	"4815877301F4"
			client_cardinality 	(value cardinality "1")
			is_aggregate 	TRUE)))
	    (object Association "$UNNAMED$6"
		quid       	"4815895D0399"
		roles      	(list role_list
		    (object Role "$UNNAMED$7"
			quid       	"4815895E0186"
			supplier   	"Logical View::CaseFunc"
			quidu      	"4815887D035B"
			client_cardinality 	(value cardinality "1"))
		    (object Role "$UNNAMED$8"
			quid       	"4815895E0188"
			supplier   	"Logical View::Content"
			quidu      	"4815877301F4"
			client_cardinality 	(value cardinality "1")
			is_aggregate 	TRUE)))
	    (object Association "$UNNAMED$9"
		quid       	"48158983036B"
		roles      	(list role_list
		    (object Role "$UNNAMED$10"
			quid       	"481589840177"
			supplier   	"Logical View::Content"
			quidu      	"4815877301F4"
			client_cardinality 	(value cardinality "1")
			is_navigable 	TRUE)
		    (object Role "$UNNAMED$11"
			quid       	"481589840179"
			supplier   	"Logical View::ExprNode"
			quidu      	"481587230177"
			client_cardinality 	(value cardinality "1")
			is_navigable 	TRUE
			is_aggregate 	TRUE)))
	    (object Class_Category "QtGui"
		quid       	"48158C44031C"
		exportControl 	"Public"
		logical_models 	(list unit_reference_list)
		logical_presentations 	(list unit_reference_list)))
	logical_presentations 	(list unit_reference_list
	    (object ClassDiagram "Main"
		quid       	"48157419032C"
		title      	"Main"
		zoom       	100
		max_height 	28350
		max_width  	21600
		origin_x   	0
		origin_y   	597
		items      	(list diagram_item_list
		    (object ClassView "Class" "Logical View::QString" @1
			ShowCompartmentStereotypes 	TRUE
			IncludeAttribute 	TRUE
			IncludeOperation 	TRUE
			location   	(674, 1702)
			font       	(object Font
			    size       	12
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			label      	(object ItemLabel
			    Parent_View 	@1
			    location   	(553, 1645)
			    fill_color 	13434879
			    nlines     	1
			    max_width  	242
			    justify    	0
			    label      	"QString")
			icon_style 	"Icon"
			line_color 	3342489
			fill_color 	13434879
			quidu      	"4815774D035B"
			width      	260
			height     	142
			annotation 	8
			autoResize 	TRUE)
		    (object NoteView @2
			location   	(688, 1965)
			font       	(object Font
			    size       	12
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			label      	(object ItemLabel
			    Parent_View 	@2
			    location   	(522, 1865)
			    fill_color 	13434879
			    nlines     	3
			    max_width  	297
			    label      	"所有以Q开关的类都在Qt包中已经实现")
			line_color 	3342489
			fill_color 	13434879
			width      	357
			height     	212)
		    (object AttachView "" @3
			stereotype 	TRUE
			line_color 	3342489
			client     	@1
			supplier   	@2
			line_style 	0)
		    (object ClassView "Class" "Logical View::TokenType" @4
			ShowCompartmentStereotypes 	TRUE
			IncludeAttribute 	TRUE
			IncludeOperation 	TRUE
			location   	(209, 1865)
			font       	(object Font
			    size       	12
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			label      	(object ItemLabel
			    Parent_View 	@4
			    location   	(18, 1679)
			    fill_color 	13434879
			    nlines     	1
			    max_width  	382
			    justify    	0
			    label      	"TokenType")
			stereotype 	(object ItemLabel
			    Parent_View 	@4
			    location   	(18, 1629)
			    fill_color 	13434879
			    anchor     	10
			    nlines     	1
			    max_width  	382
			    justify    	0
			    label      	"<<enumeration>>")
			icon_style 	"Icon"
			line_color 	3342489
			fill_color 	13434879
			quidu      	"4815754500AB"
			compartment 	(object Compartment
			    Parent_View 	@4
			    location   	(18, 1746)
			    font       	(object Font
				size       	10
				face       	"Arial"
				bold       	FALSE
				italics    	FALSE
				underline  	FALSE
				strike     	FALSE
				color      	0
				default_color 	TRUE)
			    icon_style 	"Icon"
			    fill_color 	13434879
			    anchor     	2
			    nlines     	7
			    max_width  	188)
			width      	400
			height     	500
			annotation 	8
			autoResize 	TRUE)
		    (object ClassView "Class" "Logical View::Glossary" @5
			ShowCompartmentStereotypes 	TRUE
			IncludeAttribute 	TRUE
			IncludeOperation 	TRUE
			location   	(613, 556)
			font       	(object Font
			    size       	12
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			label      	(object ItemLabel
			    Parent_View 	@5
			    location   	(307, 273)
			    fill_color 	13434879
			    nlines     	1
			    max_width  	612
			    justify    	0
			    label      	"Glossary")
			icon_style 	"Icon"
			line_color 	3342489
			fill_color 	13434879
			quidu      	"4815781C02DE"
			compartment 	(object Compartment
			    Parent_View 	@5
			    location   	(307, 340)
			    font       	(object Font
				size       	10
				face       	"Arial"
				bold       	FALSE
				italics    	FALSE
				underline  	FALSE
				strike     	FALSE
				color      	0
				default_color 	TRUE)
			    icon_style 	"Icon"
			    fill_color 	13434879
			    anchor     	2
			    nlines     	10
			    max_width  	519)
			width      	630
			height     	594
			annotation 	8
			autoResize 	TRUE)
		    (object ClassView "Class" "Logical View::Token" @6
			ShowCompartmentStereotypes 	TRUE
			IncludeAttribute 	TRUE
			IncludeOperation 	TRUE
			location   	(612, 1271)
			font       	(object Font
			    size       	12
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			label      	(object ItemLabel
			    Parent_View 	@6
			    location   	(269, 1085)
			    fill_color 	13434879
			    nlines     	1
			    max_width  	686
			    justify    	0
			    label      	"Token")
			stereotype 	(object ItemLabel
			    Parent_View 	@6
			    location   	(269, 1035)
			    fill_color 	13434879
			    anchor     	10
			    nlines     	1
			    max_width  	686
			    justify    	0
			    label      	"<<struct>>")
			icon_style 	"Icon"
			line_color 	3342489
			fill_color 	13434879
			quidu      	"481574F101B5"
			compartment 	(object Compartment
			    Parent_View 	@6
			    location   	(269, 1152)
			    font       	(object Font
				size       	10
				face       	"Arial"
				bold       	FALSE
				italics    	FALSE
				underline  	FALSE
				strike     	FALSE
				color      	0
				default_color 	TRUE)
			    icon_style 	"Icon"
			    fill_color 	13434879
			    anchor     	2
			    nlines     	7
			    max_width  	582)
			width      	704
			height     	500
			annotation 	8
			autoResize 	TRUE)
		    (object UsesView "" @7
			stereotype 	TRUE
			line_color 	3342489
			quidu      	"4815778C0203"
			client     	@6
			supplier   	@1
			line_style 	0)
		    (object UsesView "" @8
			stereotype 	TRUE
			line_color 	3342489
			quidu      	"481577E402DE"
			client     	@6
			supplier   	@4
			line_style 	0)
		    (object AssociationViewNew "$UNNAMED$0" @9
			location   	(612, 936)
			font       	(object Font
			    size       	12
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	0
			    default_color 	TRUE)
			stereotype 	TRUE
			line_color 	3342489
			quidu      	"481579550222"
			roleview_list 	(list RoleViews
			    (object RoleView "$UNNAMED$1" @10
				Parent_View 	@9
				location   	(-282, -298)
				font       	(object Font
				    size       	12
				    face       	"Arial"
				    bold       	FALSE
				    italics    	FALSE
				    underline  	FALSE
				    strike     	FALSE
				    color      	0
				    default_color 	TRUE)
				stereotype 	TRUE
				line_color 	3342489
				quidu      	"48157956007D"
				client     	@9
				supplier   	@5
				line_style 	0
				label      	(object SegLabel @11
				    Parent_View 	@10
				    location   	(648, 905)
				    font       	(object Font
					size       	10
					face       	"Arial"
					bold       	FALSE
					italics    	FALSE
					underline  	FALSE
					strike     	FALSE
					color      	0
					default_color 	TRUE)
				    anchor     	2
				    anchor_loc 	1
				    nlines     	1
				    max_width  	15
				    justify    	0
				    label      	"1"
				    pctDist    	0.388514
				    height     	36
				    orientation 	1))
			    (object RoleView "$UNNAMED$2" @12
				Parent_View 	@9
				location   	(-282, -298)
				font       	(object Font
				    size       	12
				    face       	"Arial"
				    bold       	FALSE
				    italics    	FALSE
				    underline  	FALSE
				    strike     	FALSE
				    color      	0
				    default_color 	TRUE)
				stereotype 	TRUE
				line_color 	3342489
				quidu      	"48157956008C"
				client     	@9
				supplier   	@6
				line_style 	0
				label      	(object SegLabel @13
				    Parent_View 	@12
				    location   	(648, 1005)
				    font       	(object Font
					size       	10
					face       	"Arial"
					bold       	FALSE
					italics    	FALSE
					underline  	FALSE
					strike     	FALSE
					color      	0
					default_color 	TRUE)
				    anchor     	2
				    anchor_loc 	1
				    nlines     	1
				    max_width  	15

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -