oplt.mdl
来自「在手机操作系统symbina上使用的一个脚本扩展语言的代码实现,可以参考用于自己」· MDL 代码 · 共 2,106 行 · 第 1/5 页
MDL
2,106 行
supplier "CBufSeg"))
superclasses (list inheritance_relationship_list
(object Inheritance_Relationship
supplier "COplModuleBackEnd")))
(object Class "TOplApp"
operations (list Operations
(object Operation "pv ParseL"
concurrency "Sequential"
opExportControl "Public"
uid 0)))
(object Class "COpl16ParseApp"
superclasses (list inheritance_relationship_list
(object Inheritance_Relationship
supplier "COplParseApp")))
(object Class "COpl16QcodeGenerator"
fields (list has_relationship_list
(object Has_Relationship
label "iReader"
supplier "ROplPCodeReader")
(object Has_Relationship
supplier "RBufReadStream"))
used_nodes (list uses_relationship_list
(object Uses_Relationship
label "iQcode"
supplier "CSegBuf")
(object Uses_Relationship
supplier "ROpoWriteStream")
(object Uses_Relationship
supplier "TQcode16")))
(object Class "ROplPCodeReader"
fields (list has_relationship_list
(object Has_Relationship
label "iCode"
supplier "RBufReadStream")))
(object Class "RBufReadStream"
used_nodes (list uses_relationship_list
(object Uses_Relationship
supplier "CbufSeg")
(object Uses_Relationship
supplier "CBufSeg")))
(object Class "CSegBuf")
(object Class "RFile")
(object Class "MOplAppCB")
(object Class "ROpoWriteStream"
used_nodes (list uses_relationship_list
(object Uses_Relationship
supplier "CBufSeg")))
(object Class "CBufSeg")
(object Class "TQcode16"))
logical_presentations (list unit_reference_list
(object ClassDiagram "Main"
title "Main"
zoom 95
max_height 28350
max_width 21600
origin_x 0
origin_y 77
items (list diagram_item_list
(object ClassView "Class" "COplModuleBackEnd" @93
IncludeOperation TRUE
location (1664, 448)
label (object ItemLabel
Parent_View @93
location (1408, 236)
nlines 2
max_width 612
justify 0
label "COplModuleBackEnd")
compartment (object Compartment
Parent_View @93
location (1563, 301)
anchor 2
nlines 7
max_width 299
justify 0)
width 887
height 618)
(object ClassView "Class" "COpl16ModuleBackEnd" @94
location (1888, 992)
label (object ItemLabel
Parent_View @94
location (1748, 875)
nlines 2
max_width 331
justify 0
label "COpl16ModuleBackEnd")
width 480
height 348)
(object ClassView "Class" "COplParseApp" @95
IncludeOperation TRUE
location (688, 304)
label (object ItemLabel
Parent_View @95
location (557, 199)
nlines 2
max_width 306
justify 0
label "COplParseApp")
compartment (object Compartment
Parent_View @95
location (584, 264)
anchor 2
nlines 2
max_width 250
justify 0)
width 444
height 313
annotation 8)
(object InheritView "" @96
client @94
supplier @93
line_style 0)
(object ClassView "Class" "COpl16ParseApp" @97
location (240, 480)
label (object ItemLabel
Parent_View @97
location (136, 396)
nlines 2
max_width 240
justify 0
label "COpl16ParseApp"))
(object InheritView "" @98
client @97
supplier @95
line_style 0)
(object ClassView "Class" "COpl16QcodeGenerator" @99
location (2000, 1488)
label (object ItemLabel
Parent_View @99
location (1896, 1404)
nlines 2
max_width 241
justify 0
label "COpl16QcodeGenerator")
width 350)
(object ClassView "Class" "COplParseOpx" @100
location (672, 720)
label (object ItemLabel
Parent_View @100
location (550, 619)
nlines 2
max_width 284
justify 0
label "COplParseOpx")
width 413
height 300
annotation 8)
(object ClassView "Class" "COplParseProcHeader" @101
location (640, 1152)
label (object ItemLabel
Parent_View @101
location (509, 1045)
nlines 2
max_width 306
justify 0
label "COplParseProcHeader")
width 444
height 319
annotation 8)
(object ClassView "Class" "MTranAppCB" @102
location (2608, 304)
label (object ItemLabel
Parent_View @102
location (2504, 220)
nlines 2
max_width 240
justify 0
label "MTranAppCB")
annotation 8)
(object HasView "" @103
client @94
supplier @99
line_style 0)
(object ClassView "Class" "ROpoWriteStream" @104
location (2528, 1520)
label (object ItemLabel
Parent_View @104
location (2424, 1436)
nlines 2
max_width 240
justify 0
label "ROpoWriteStream"))
(object HasView "" @105
client @94
supplier @104
line_style 0)
(object UsesView "" @106
client @99
supplier @104
line_style 0)
(object ClassView "Class" "CBufSeg" @107
location (624, 1520)
label (object ItemLabel
Parent_View @107
location (520, 1436)
nlines 2
max_width 240
justify 0
label "CBufSeg"))
(object ClassView "Class" "RBufReadStream" @108
location (1584, 1568)
label (object ItemLabel
Parent_View @108
location (1480, 1484)
nlines 2
max_width 240
justify 0
label "RBufReadStream"))
(object HasView "" @109
client @99
supplier @108
line_style 0)
(object UsesView "" @110
client @108
supplier @107
line_style 0)
(object ClassView "Class" "CBufSeg" @111
location (3088, 1408)
label (object ItemLabel
Parent_View @111
location (2984, 1324)
nlines 2
max_width 240
justify 0
label "CBufSeg"))
(object HasView "qcode" @112
label (object ItemLabel
Parent_View @112
location (2523, 1212)
anchor_loc 1
nlines 1
max_width 450
justify 0
label "qcode")
client @94
supplier @111
line_style 0)
(object UsesView "" @113
client @104
supplier @111
line_style 0)
(object ClassView "Class" "TQcode16" @114
location (2112, 1968)
label (object ItemLabel
Parent_View @114
location (2008, 1884)
nlines 2
max_width 240
justify 0
label "TQcode16"))
(object UsesView "" @115
client @99
supplier @114
line_style 0)
(object UsesView "" @116
client @93
supplier @95
line_style 0)
(object UsesView "" @117
client @93
supplier @100
line_style 0)
(object UsesView "" @118
client @93
supplier @101
line_style 0)
(object UsesView "" @119
client @93
supplier @102
line_style 0)
(object UsesView "parse code" @120
label (object ItemLabel
Parent_View @120
location (1086, 1038)
anchor_loc 1
nlines 1
max_width 450
justify 0
label "parse code")
client @93
supplier @107
line_style 0)))))
(object Class_Category "Translator"
visible_categories (list visibility_relationship_list
(object Visibility_Relationship
supplier "Lexer")
(object Visibility_Relationship
supplier "Parser")
(object Visibility_Relationship
supplier "BackEnd"))
exportControl "Public"
logical_models (list unit_reference_list
(object Class "COplModuleTranslator"
fields (list has_relationship_list
(object Has_Relationship
label "iLexer"
supplier "COplModuleLexer"
Containment "By Reference")
(object Has_Relationship
label "iParser"
supplier "COplModuleParser"
Containment "By Reference"
supplier_cardinality (value cardinality "0..n")))
superclasses (list inheritance_relationship_list
(object Inheritance_Relationship
supplier "CTextTranslator"))
used_nodes (list uses_relationship_list
(object Uses_Relationship
supplier "TTranslateError")
(object Uses_Relationship
label "iError"
supplier "TOplTranslatorError")
(object Uses_Relationship
label "iAppCB"
supplier "MTranAppCB"))
operations (list Operations
(object Operation "o StartTranslateL"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "o TranslateChunk"
concurrency "Sequential"
opExportControl "Public"
uid 0)
(object Operation "o Cancel"
concurrency "Sequential"
opExportControl "Public"
uid 0))
class_attributes (list class_attribute_list
(object ClassAttribute "iOwnBackEnd"
documentation "Flags whether the back end is owned by the Translator, or was passed as an argument to StartTrandslateL"
type "TBool")))
(object Class "TOplTranslatorError"
superclasses (list inheritance_relationship_list
(object Inheritance_Relationship
supplier "TTranslateError")))
(object Class "COplLexe")
(object Class "MTranAppCB")
(object Association "iBackEnd (may be owned or passed as argment to StartTranslateL"
quid "31F7EA170276"
roles (list role_list
(object Role "$UNNAMED$0"
supplier "COplModuleBackEnd"
Containment "By Reference"
is_navigable TRUE)
(object Role "$UNNAMED$1"
supplier "COplModuleTranslator"))))
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" "CTextTranslator" @121
location (1008, 256)
label (object ItemLabel
Parent_View @121
location (859, 134)
nlines 2
max_width 349
justify 0
label "CTextTranslator")
width 507
height 363)
(object ClassView "Class" "TOplTranslatorError" @122
location (2000, 736)
label (object ItemLabel
Parent_View @122
location (1869, 634)
nlines 2
max_width 306
justify 0
label "TOplTranslatorError")
width 444
height 307)
(object ClassView "Class" "TTranslateError" @123
location (1984, 240)
label (object ItemLabel
Parent_View @123
location (1844, 126)
nlines 2
max_width 327
justify 0
label "TTranslateError")
width 475
height 338)
(object InheritView "" @124
client @122
supplier @123
line_style 0)
(object ClassView "Class" "COplModuleLexer" @125
location (720, 1408)
label (object ItemLabel
Parent_View @125
location (616, 1324)
nlines 2
max_width 240
justify 0
label "COplModuleLexer"))
(object ClassView "Class" "MTranAppCB" @126
location (256, 1376)
label (object ItemLabel
Parent_View @126
location (125, 1269)
nlines 2
max_width 306
justify 0
label "MTranAppCB")
width 444
height 319)
(object ClassView "Class" "COplModuleParser" @127
location (1168, 1408)
label (object ItemLabel
Parent_View @127
location (1055, 1319)
nlines 2
max_width 262
justify 0
label "COplModuleParser")
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?