oplt.mdl

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

MDL
2,106 行
字号
				    max_width  	241
				    justify    	0
				    label      	"EOpxFunctionDecl")
				width      	350)
			    (object InheritView "" @24
				client     	@23
				supplier   	@7
				line_style 	0)
			    (object InheritView "" @25
				client     	@22
				supplier   	@7
				line_style 	0)
			    (object ClassView "Class" "EProcRef" @26
				location   	(2240, 1136)
				label      	(object ItemLabel
				    Parent_View 	@26
				    location   	(2136, 1052)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"EProcRef"))
			    (object ClassView "Class" "EExternalRef" @27
				location   	(2704, 1120)
				label      	(object ItemLabel
				    Parent_View 	@27
				    location   	(2600, 1036)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"EExternalRef"))
			    (object HasView "iSignature" @28
				label      	(object ItemLabel
				    Parent_View 	@28
				    location   	(3284, 1744)
				    anchor_loc 	1
				    nlines     	1
				    max_width  	450
				    justify    	0
				    label      	"iSignature")
				client     	@7
				supplier   	@9
				line_style 	0)
			    (object InheritView "" @29
				client     	@26
				supplier   	@10
				line_style 	0)
			    (object InheritView "" @30
				client     	@27
				supplier   	@10
				line_style 	0)
			    (object Label @31
				location   	(162, 320)
				nlines     	7
				max_width  	779
				label      	
|NOTE: The leaf classes, e.g. ELabel are not implemented as derived C++ classes. 
|
|Rather, they are instances of their respective base classes, e.g. COplDeclarationClass, with the iClass member set to the appropriate COplSymbol::TClass value e.g. ELabel.
				)
			    (object ClassView "Class" "COplSymbol::TClass" @32
				location   	(2496, 256)
				label      	(object ItemLabel
				    Parent_View 	@32
				    location   	(2369, 172)
				    nlines     	2
				    max_width  	296
				    justify    	0
				    label      	"COplSymbol::TClass")
				width      	430)
			    (object UsesView "" @33
				client     	@19
				supplier   	@32
				line_style 	0)
			    (object NoteView @34
				location   	(2928, 272)
				label      	(object ItemLabel
				    Parent_View 	@34
				    location   	(2736, 22)
				    nlines     	10
				    max_width  	409
				    label      	
|ELabel
|EConstant
|EGlobal
|ELocal
|EArgument
|EExternal
|EOpxFunctionDecl,
|EProcDecl,
|EProcRef
|EExternalRef
				    )
				width      	469
				height     	512)
			    (object ClassView "Class" "COplConstantSymbol" @35
				location   	(576, 1728)
				label      	(object ItemLabel
				    Parent_View 	@35
				    location   	(454, 1644)
				    nlines     	2
				    max_width  	285
				    justify    	0
				    label      	"COplConstantSymbol")
				width      	414)
			    (object InheritView "" @36
				client     	@35
				supplier   	@11
				line_style 	0)
			    (object ClassView "Class" "TOplConstant" @37
				location   	(176, 1728)
				label      	(object ItemLabel
				    Parent_View 	@37
				    location   	(72, 1644)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"TOplConstant"))
			    (object HasView "" @38
				client     	@35
				supplier   	@37
				line_style 	0)
			    (object ClassView "Class" "EConstant" @39
				location   	(304, 2128)
				label      	(object ItemLabel
				    Parent_View 	@39
				    location   	(200, 2044)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"EConstant"))
			    (object InheritView "" @40
				client     	@39
				supplier   	@35
				line_style 	0)))))
	    (object Class_Category "Parser"
		visible_categories 	(list visibility_relationship_list
		    (object Visibility_Relationship
			supplier   	"Lexer")
		    (object Visibility_Relationship
			supplier   	"BackEnd")
		    (object Visibility_Relationship
			supplier   	"Symbols"))
		exportControl 	"Public"
		logical_models 	(list unit_reference_list
		    (object Class "COplParseProcHeader"
			fields     	(list has_relationship_list
			    (object Has_Relationship
				supplier   	"COplSymbolList"
				supplier_cardinality 	(value cardinality "n")))
			used_nodes 	(list uses_relationship_list
			    (object Uses_Relationship
				supplier   	"COplSymbol"
				supplier_cardinality 	(value cardinality "0..n"))))
		    (object Class "COplParseApp"
			operations 	(list Operations
			    (object Operation "pv ParseL"
				concurrency 	"Sequential"
				opExportControl 	"Public"
				uid        	0)))
		    (object Class "COplParseOpx")
		    (object Class "COplSymbolTable"
			fields     	(list has_relationship_list
			    (object Has_Relationship
				supplier   	"COplSymbol"
				supplier_cardinality 	(value cardinality "0..n")))
			class_attributes 	(list class_attribute_list
			    (object ClassAttribute "iScope")))
		    (object Class "MOplBackEnd"
			fields     	(list has_relationship_list
			    (object Has_Relationship
				supplier   	"RReadStrean")))
		    (object Class "COplSymbolList")
		    (object Class "RWriteStream"
			used_nodes 	(list uses_relationship_list
			    (object Uses_Relationship
				supplier   	"CbufSeg")))
		    (object Class "RReadStrean")
		    (object Class "CBufBase")
		    (object Class "CbufSeg")
		    (object Class "COplParserBase"
			fields     	(list has_relationship_list
			    (object Has_Relationship
				label      	"iSymbols"
				supplier   	"COplSymbolTable")
			    (object Has_Relationship
				label      	"iCode"
				supplier   	"RWriteStream"))
			used_nodes 	(list uses_relationship_list
			    (object Uses_Relationship
				label      	"Lexer()"
				supplier   	"COplLexerBase")))
		    (object Class "COplModuleParser"
			superclasses 	(list inheritance_relationship_list
			    (object Inheritance_Relationship
				supplier   	"COplParserBase")
			    (object Inheritance_Relationship
				supplier   	"MOplLexerLineCB"))
			used_nodes 	(list uses_relationship_list
			    (object Uses_Relationship
				supplier   	"COplModuleLexer")
			    (object Uses_Relationship
				supplier   	"COplModuleBackEnd")
			    (object Uses_Relationship
				supplier   	"COplParseApp")
			    (object Uses_Relationship
				supplier   	"COplParseOpx")
			    (object Uses_Relationship
				supplier   	"COplParseProcHeader")
			    (object Uses_Relationship
				label      	"iPCodeBuf"
				supplier   	"CbufSeg")))
		    (object Class "COplLineParser"
			superclasses 	(list inheritance_relationship_list
			    (object Inheritance_Relationship
				supplier   	"COplParserBase"))))
		logical_presentations 	(list unit_reference_list
		    (object ClassDiagram "Main"
			title      	"Main"
			zoom       	100
			max_height 	28350
			max_width  	21600
			origin_x   	0
			origin_y   	0
			items      	(list diagram_item_list
			    (object ClassView "Class" "COplParseProcHeader" @41
				location   	(1264, 1328)
				label      	(object ItemLabel
				    Parent_View 	@41
				    location   	(1160, 1244)
				    nlines     	2
				    max_width  	241
				    justify    	0
				    label      	"COplParseProcHeader")
				width      	350)
			    (object ClassView "Class" "COplParseApp" @42
				location   	(448, 1376)
				label      	(object ItemLabel
				    Parent_View 	@42
				    location   	(344, 1292)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"COplParseApp")
				height     	254)
			    (object ClassView "Class" "COplParseOpx" @43
				location   	(896, 1472)
				label      	(object ItemLabel
				    Parent_View 	@43
				    location   	(792, 1388)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"COplParseOpx")
				height     	254)
			    (object ClassView "Class" "COplSymbolTable" @44
				IncludeOperation 	TRUE
				location   	(2288, 768)
				label      	(object ItemLabel
				    Parent_View 	@44
				    location   	(2166, 670)
				    nlines     	2
				    max_width  	284
				    justify    	0
				    label      	"COplSymbolTable")
				compartment 	(object Compartment
				    Parent_View 	@44
				    location   	(2173, 786)
				    anchor     	2
				    nlines     	1
				    max_width  	269
				    justify    	0
				    compartmentItems 	(list Compartment
					"iScope"))
				width      	412
				height     	293)
			    (object ClassView "Class" "RWriteStream" @45
				location   	(1504, 704)
				label      	(object ItemLabel
				    Parent_View 	@45
				    location   	(1400, 620)
				    nlines     	2
				    max_width  	241
				    justify    	0
				    label      	"RWriteStream")
				width      	350)
			    (object ClassView "Class" "CbufSeg" @46
				location   	(1648, 1136)
				label      	(object ItemLabel
				    Parent_View 	@46
				    location   	(1544, 1052)
				    nlines     	2
				    max_width  	241
				    justify    	0
				    label      	"CbufSeg")
				width      	350
				height     	254)
			    (object UsesView "" @47
				client     	@45
				supplier   	@46
				line_style 	0)
			    (object ClassView "Class" "COplParserBase" @48
				location   	(1216, 256)
				label      	(object ItemLabel
				    Parent_View 	@48
				    location   	(1112, 172)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"COplParserBase"))
			    (object HasView "iSymbols" @49
				label      	(object ItemLabel
				    Parent_View 	@49
				    location   	(1747, 510)
				    anchor_loc 	1
				    nlines     	1
				    max_width  	450
				    justify    	0
				    label      	"iSymbols")
				client     	@48
				supplier   	@44
				line_style 	0)
			    (object HasView "iCode" @50
				label      	(object ItemLabel
				    Parent_View 	@50
				    location   	(1349, 464)
				    anchor_loc 	1
				    nlines     	1
				    max_width  	450
				    justify    	0
				    label      	"iCode")
				client     	@48
				supplier   	@45
				line_style 	0)
			    (object ClassView "Class" "COplModuleParser" @51
				location   	(896, 672)
				label      	(object ItemLabel
				    Parent_View 	@51
				    location   	(786, 588)
				    nlines     	2
				    max_width  	256
				    justify    	0
				    label      	"COplModuleParser")
				width      	372
				height     	254)
			    (object InheritView "" @52
				client     	@51
				supplier   	@48
				line_style 	0)
			    (object ClassView "Class" "COplLexerBase" @53
				location   	(2384, 272)
				label      	(object ItemLabel
				    Parent_View 	@53
				    location   	(2280, 188)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"COplLexerBase"))
			    (object UsesView "Lexer()" @54
				label      	(object ItemLabel
				    Parent_View 	@54
				    location   	(1788, 264)
				    anchor_loc 	1
				    nlines     	1
				    max_width  	450
				    justify    	0
				    label      	"Lexer()")
				client     	@48
				supplier   	@53
				line_style 	0)
			    (object UsesView "" @55
				client     	@51
				supplier   	@42
				line_style 	0)
			    (object UsesView "" @56
				client     	@51
				supplier   	@43
				line_style 	0)
			    (object UsesView "" @57
				client     	@51
				supplier   	@41
				line_style 	0)
			    (object UsesView "iPCodeBuf" @58
				label      	(object ItemLabel
				    Parent_View 	@58
				    location   	(1278, 905)
				    anchor_loc 	1
				    nlines     	1
				    max_width  	450
				    justify    	0
				    label      	"iPCodeBuf")
				client     	@51
				supplier   	@46
				line_style 	0)
			    (object ClassView "Class" "COplSymbol" @59
				location   	(2192, 1376)
				label      	(object ItemLabel
				    Parent_View 	@59
				    location   	(2088, 1292)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"COplSymbol")
				annotation 	8)
			    (object HasView "" @60
				client     	@44
				supplier   	@59
				line_style 	0)
			    (object UsesView "" @61
				client     	@41
				supplier   	@59
				line_style 	0)
			    (object ClassView "Class" "COplLineParser" @62
				location   	(544, 320)
				label      	(object ItemLabel
				    Parent_View 	@62
				    location   	(440, 236)
				    nlines     	2
				    max_width  	240
				    justify    	0
				    label      	"COplLineParser"))
			    (object InheritView "" @63
				client     	@62

⌨️ 快捷键说明

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