oplt.mdl

来自「在手机操作系统symbina上使用的一个脚本扩展语言的代码实现,可以参考用于自己」· MDL 代码 · 共 2,106 行 · 第 1/5 页

MDL
2,106 行
字号
				supplier   	@48
				line_style 	0)))))
	    (object Class_Category "Lexer"
		visible_categories 	(list visibility_relationship_list
		    (object Visibility_Relationship
			supplier   	"Symbols"))
		exportControl 	"Public"
		logical_models 	(list unit_reference_list
		    (object Class "COplLexerBase"
			fields     	(list has_relationship_list
			    (object Has_Relationship
				label      	"iToken"
				supplier   	"TOplToken"
				Containment 	"By Value")
			    (object Has_Relationship
				label      	"iFunction"
				supplier   	"TOplFunction"
				Containment 	"By Value")
			    (object Has_Relationship
				label      	"iKeyword"
				supplier   	"TOplKeyWord"
				Containment 	"By Value")
			    (object Has_Relationship
				label      	"iOpxSymbol"
				supplier   	"EOpxFunctionDecl"
				Containment 	"By Reference")
			    (object Has_Relationship
				label      	"iField"
				supplier   	"TOplField"
				Containment 	"By Value"))
			operations 	(list Operations
			    (object Operation "LexL"
				concurrency 	"Sequential"
				opExportControl 	"Public"
				uid        	0)
			    (object Operation "UnLexL"
				concurrency 	"Sequential"
				opExportControl 	"Public"
				uid        	0)))
		    (object Class "COplLineLexer"
			superclasses 	(list inheritance_relationship_list
			    (object Inheritance_Relationship
				supplier   	"COplLexerBase")))
		    (object Class "COplModuleLexer"
			superclasses 	(list inheritance_relationship_list
			    (object Inheritance_Relationship
				supplier   	"COplLexerBase"))
			used_nodes 	(list uses_relationship_list
			    (object Uses_Relationship
				supplier   	"MOplLexerLineCB"
				supplier_cardinality 	(value cardinality "0..1"))
			    (object Uses_Relationship
				supplier   	"MTextSourceSystem")
			    (object Uses_Relationship
				supplier   	"MTextSource"
				supplier_cardinality 	(value cardinality "0..n"))))
		    (object Class "TOplToken"
			fields     	(list has_relationship_list
			    (object Has_Relationship
				supplier   	"TOplToken::TValue"
				Containment 	"By Value"))
			used_nodes 	(list uses_relationship_list
			    (object Uses_Relationship
				supplier   	"TOplToken::TType")))
		    (object Class "TOplFunction"
			fields     	(list has_relationship_list
			    (object Has_Relationship
				supplier   	"TOplSignature"
				Containment 	"By Value")))
		    (object Class "TOplKeyWord")
		    (object Class "TOplSignature")
		    (object Class "MOplLexerLineCB"
			operations 	(list Operations
			    (object Operation "pv NewLineL"
				concurrency 	"Sequential"
				opExportControl 	"Public"
				uid        	0)))
		    (object Class "TOplToken::TType")
		    (object Class "TOplToken::TValue")
		    (object Class "TOplSignature::TArgType")
		    (object Class "TOplField"))
		logical_presentations 	(list unit_reference_list
		    (object ClassDiagram "Main"
			title      	"Main"
			zoom       	100
			max_height 	28350
			max_width  	21600
			origin_x   	0
			origin_y   	63
			items      	(list diagram_item_list
			    (object ClassView "Class" "COplLexerBase" @64
				IncludeOperation 	TRUE
				location   	(752, 320)
				label      	(object ItemLabel
				    Parent_View 	@64
				    location   	(621, 215)
				    nlines     	2
				    max_width  	306
				    justify    	0
				    label      	"COplLexerBase")
				compartment 	(object Compartment
				    Parent_View 	@64
				    location   	(681, 281)
				    anchor     	2
				    nlines     	2
				    max_width  	184
				    justify    	0)
				width      	444
				height     	313)
			    (object ClassView "Class" "COplLineLexer" @65
				location   	(416, 880)
				label      	(object ItemLabel
				    Parent_View 	@65
				    location   	(312, 796)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"COplLineLexer"))
			    (object InheritView "" @66
				client     	@65
				supplier   	@64
				line_style 	0)
			    (object ClassView "Class" "COplModuleLexer" @67
				location   	(896, 960)
				label      	(object ItemLabel
				    Parent_View 	@67
				    location   	(792, 876)
				    nlines     	2
				    max_width  	241
				    justify    	0
				    label      	"COplModuleLexer")
				width      	350
				height     	254)
			    (object ClassView "Class" "TOplToken" @68
				location   	(1872, 224)
				label      	(object ItemLabel
				    Parent_View 	@68
				    location   	(1768, 140)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"TOplToken"))
			    (object ClassView "Class" "TOplFunction" @69
				location   	(1824, 656)
				label      	(object ItemLabel
				    Parent_View 	@69
				    location   	(1720, 572)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"TOplFunction"))
			    (object ClassView "Class" "TOplKeyWord" @70
				location   	(1856, 928)
				label      	(object ItemLabel
				    Parent_View 	@70
				    location   	(1752, 844)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"TOplKeyWord"))
			    (object ClassView "Class" "TOplSignature" @71
				location   	(2256, 768)
				label      	(object ItemLabel
				    Parent_View 	@71
				    location   	(2152, 684)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"TOplSignature"))
			    (object HasView "" @72
				client     	@69
				supplier   	@71
				line_style 	0)
			    (object InheritView "" @73
				client     	@67
				supplier   	@64
				line_style 	0)
			    (object ClassView "Class" "MOplLexerLineCB" @74
				location   	(1376, 1424)
				label      	(object ItemLabel
				    Parent_View 	@74
				    location   	(1272, 1340)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"MOplLexerLineCB")
				annotation 	8)
			    (object UsesView "" @75
				client     	@67
				supplier   	@74
				line_style 	0)
			    (object HasView "iToken" @76
				label      	(object ItemLabel
				    Parent_View 	@76
				    location   	(1329, 271)
				    anchor_loc 	1
				    nlines     	1
				    max_width  	450
				    justify    	0
				    label      	"iToken")
				client     	@64
				supplier   	@68
				line_style 	0)
			    (object HasView "iFunction" @77
				label      	(object ItemLabel
				    Parent_View 	@77
				    location   	(1314, 495)
				    anchor_loc 	1
				    nlines     	1
				    max_width  	450
				    justify    	0
				    label      	"iFunction")
				client     	@64
				supplier   	@69
				line_style 	0)
			    (object HasView "iKeyword" @78
				label      	(object ItemLabel
				    Parent_View 	@78
				    location   	(1329, 636)
				    anchor_loc 	1
				    nlines     	1
				    max_width  	450
				    justify    	0
				    label      	"iKeyword")
				client     	@64
				supplier   	@70
				line_style 	0)
			    (object ClassView "Class" "TOplToken::TType" @79
				location   	(2496, 256)
				label      	(object ItemLabel
				    Parent_View 	@79
				    location   	(2387, 172)
				    nlines     	2
				    max_width  	252
				    justify    	0
				    label      	"TOplToken::TType")
				width      	366
				height     	254)
			    (object NoteView @80
				location   	(2864, 304)
				label      	(object ItemLabel
				    Parent_View 	@80
				    location   	(2738, 135)
				    nlines     	6
				    max_width  	277
				    label      	
|EBadTypeEWord
|ELong
|EReal
|EString
|EUWord
				    )
				width      	337
				height     	350)
			    (object ClassView "Class" "TOplToken::TValue" @81
				location   	(2720, 816)
				label      	(object ItemLabel
				    Parent_View 	@81
				    location   	(2606, 732)
				    nlines     	2
				    max_width  	266
				    justify    	0
				    label      	"TOplToken::TValue")
				width      	386
				height     	254)
			    (object HasView "" @82
				client     	@68
				supplier   	@81
				line_style 	0)
			    (object UsesView "" @83
				client     	@68
				supplier   	@79
				line_style 	0)
			    (object NoteView @84
				location   	(2896, 976)
				label      	(object ItemLabel
				    Parent_View 	@84
				    location   	(2769, 879)
				    nlines     	3
				    max_width  	278
				    label      	
|e.g. ESimpleId
|ELessThan
				    )
				width      	338
				height     	206)
			    (object ClassView "Class" "EOpxFunctionDecl" @85
				location   	(1920, 1504)
				label      	(object ItemLabel
				    Parent_View 	@85
				    location   	(1816, 1420)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"EOpxFunctionDecl")
				annotation 	8)
			    (object HasView "iOpxSymbol" @86
				label      	(object ItemLabel
				    Parent_View 	@86
				    location   	(1331, 906)
				    anchor_loc 	1
				    nlines     	1
				    max_width  	450
				    justify    	0
				    label      	"iOpxSymbol")
				client     	@64
				supplier   	@85
				line_style 	0)
			    (object ClassView "Class" "MTextSourceSystem" @87
				location   	(480, 1408)
				label      	(object ItemLabel
				    Parent_View 	@87
				    location   	(358, 1310)
				    nlines     	2
				    max_width  	284
				    justify    	0
				    label      	"MTextSourceSystem")
				width      	413
				height     	294)
			    (object ClassView "Class" "MTextSource" @88
				location   	(912, 1456)
				label      	(object ItemLabel
				    Parent_View 	@88
				    location   	(808, 1372)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"MTextSource"))
			    (object UsesView "" @89
				client     	@67
				supplier   	@87
				line_style 	0)
			    (object UsesView "" @90
				client     	@67
				supplier   	@88
				line_style 	0)
			    (object ClassView "Class" "TOplField" @91
				location   	(1856, 1152)
				label      	(object ItemLabel
				    Parent_View 	@91
				    location   	(1752, 1068)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"TOplField"))
			    (object HasView "iField" @92
				label      	(object ItemLabel
				    Parent_View 	@92
				    location   	(1316, 743)
				    anchor_loc 	1
				    nlines     	1
				    max_width  	450
				    justify    	0
				    label      	"iField")
				client     	@64
				supplier   	@91
				line_style 	0)))))
	    (object Class_Category "BackEnd"
		visible_categories 	(list visibility_relationship_list
		    (object Visibility_Relationship
			supplier   	"Symbols"))
		exportControl 	"Public"
		logical_models 	(list unit_reference_list
		    (object Class "COplModuleBackEnd"
			used_nodes 	(list uses_relationship_list
			    (object Uses_Relationship
				supplier   	"COplParseApp"
				supplier_cardinality 	(value cardinality "0"))
			    (object Uses_Relationship
				supplier   	"COplParseOpx")
			    (object Uses_Relationship
				supplier   	"COplParseProcHeader")
			    (object Uses_Relationship
				supplier   	"CbufSeg")
			    (object Uses_Relationship
				supplier   	"MOplAppCB")
			    (object Uses_Relationship
				supplier   	"MTranAppCB")
			    (object Uses_Relationship
				label      	"parse code"
				supplier   	"CBufSeg"))
			operations 	(list Operations
			    (object Operation "pv OpenL"
				concurrency 	"Sequential"
				opExportControl 	"Public"
				uid        	0)
			    (object Operation "pv GetAppL"
				concurrency 	"Sequential"
				opExportControl 	"Public"
				uid        	0)
			    (object Operation "pv AppL"
				concurrency 	"Sequential"
				opExportControl 	"Public"
				uid        	0)
			    (object Operation "pv OpxL"
				concurrency 	"Sequential"
				opExportControl 	"Public"
				uid        	0)
			    (object Operation "pv StartProcL"
				concurrency 	"Sequential"
				opExportControl 	"Public"
				uid        	0)
			    (object Operation "pv ProcL"
				concurrency 	"Sequential"
				opExportControl 	"Public"
				uid        	0)
			    (object Operation "pv EndOfFile"
				concurrency 	"Sequential"
				opExportControl 	"Public"
				uid        	0)))
		    (object Class "COpl16ModuleBackEnd"
			fields     	(list has_relationship_list
			    (object Has_Relationship
				label      	"iOutputFile"
				supplier   	"RFile"
				Containment 	"By Value")
			    (object Has_Relationship
				supplier   	"COpl16QcodeGenerator")
			    (object Has_Relationship
				supplier   	"ROpoWriteStream")
			    (object Has_Relationship
				label      	"qcode"

⌨️ 快捷键说明

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