parser.mdl

来自「编译器 用C语言对下述文法和单词表定义的语言设计编制一个编译器」· MDL 代码 · 共 2,316 行 · 第 1/5 页

MDL
2,316
字号
		name       	"default__Module-Spec"
		value      	(list Attribute_Set
		    (object Attribute
			tool       	"Cplusplus"
			name       	"Synchronize"
			value      	TRUE)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"RevEngRootDirectory"
			value      	"")
		    (object Attribute
			tool       	"Cplusplus"
			name       	"RootPackage"
			value      	"C++ Reverse Engineered")
		    (object Attribute
			tool       	"Cplusplus"
			name       	"RevEngDirectoriesAsPackages"
			value      	FALSE)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"HeaderFileExtension"
			value      	".h")
		    (object Attribute
			tool       	"Cplusplus"
			name       	"ImplementationFileExtension"
			value      	".cpp")
		    (object Attribute
			tool       	"Cplusplus"
			name       	"NewHeaderFileDirectory"
			value      	"")
		    (object Attribute
			tool       	"Cplusplus"
			name       	"NewImplementationFileDirectory"
			value      	"")
		    (object Attribute
			tool       	"Cplusplus"
			name       	"FileCapitalization"
			value      	("FileCapitalizationSet" 0))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"CodeGenExtraDirectories"
			value      	("CodeGenExtraDirectoriesSet" 0))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"StripClassPrefix"
			value      	"")
		    (object Attribute
			tool       	"Cplusplus"
			name       	"UseTabs"
			value      	FALSE)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"TabWidth"
			value      	8)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"IndentWidth"
			value      	4)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"AccessIndentation"
			value      	-2)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"CreateBackupFiles"
			value      	FALSE)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"ModelIdCommentRules"
			value      	("ModelIdCommentRulesSet" 1))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"CommentRules"
			value      	("CommentRulesSet" 1))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"PageWidth"
			value      	80)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"ClassMemberOrder"
			value      	("MemberOrderSet" 1))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"OneParameterPerLine"
			value      	FALSE)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"NamespaceBraceStyle"
			value      	("BraceStyleSet" 2))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"ClassBraceStyle"
			value      	("BraceStyleSet" 2))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"FunctionBraceStyle"
			value      	("BraceStyleSet" 2))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"Copyright"
			value      	(value Text ""))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"InitialHeaderIncludes"
			value      	(value Text ""))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"InitialBodyIncludes"
			value      	(value Text ""))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"CodeGenExtraDirectoriesSet"
			value      	(list Attribute_Set
			    (object Attribute
				tool       	"Cplusplus"
				name       	"None"
				value      	0)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Namespaces"
				value      	1)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Packages"
				value      	2)))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"FileCapitalizationSet"
			value      	(list Attribute_Set
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Same as model"
				value      	0)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Lower case"
				value      	1)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Upper case"
				value      	2)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Lower case with underscores"
				value      	3)))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"BraceStyleSet"
			value      	(list Attribute_Set
			    (object Attribute
				tool       	"Cplusplus"
				name       	"B1"
				value      	1)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"B2"
				value      	2)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"B3"
				value      	3)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"B4"
				value      	4)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"B5"
				value      	5)))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"MemberOrderSet"
			value      	(list Attribute_Set
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Public First"
				value      	1)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Private First"
				value      	2)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Order by kind"
				value      	3)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Unordered"
				value      	4)))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"ModelIdCommentRulesSet"
			value      	(list Attribute_Set
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Code generation only"
				value      	1)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Code generation and reverse engineering"
				value      	2)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Never generate model IDs"
				value      	3)))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"CommentRulesSet"
			value      	(list Attribute_Set
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Always synchronize"
				value      	1)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Code generation only"
				value      	2)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Reverse engineering only"
				value      	3)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Never synchronize"
				value      	4)))))
	    (object Attribute
		tool       	"Cplusplus"
		name       	"default__Module-Body"
		value      	(list Attribute_Set
		    (object Attribute
			tool       	"Cplusplus"
			name       	"Synchronize"
			value      	TRUE)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"RevEngRootDirectory"
			value      	"")
		    (object Attribute
			tool       	"Cplusplus"
			name       	"RootPackage"
			value      	"C++ Reverse Engineered")
		    (object Attribute
			tool       	"Cplusplus"
			name       	"RevEngDirectoriesAsPackages"
			value      	FALSE)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"HeaderFileExtension"
			value      	".h")
		    (object Attribute
			tool       	"Cplusplus"
			name       	"ImplementationFileExtension"
			value      	".cpp")
		    (object Attribute
			tool       	"Cplusplus"
			name       	"NewHeaderFileDirectory"
			value      	"")
		    (object Attribute
			tool       	"Cplusplus"
			name       	"NewImplementationFileDirectory"
			value      	"")
		    (object Attribute
			tool       	"Cplusplus"
			name       	"FileCapitalization"
			value      	("FileCapitalizationSet" 0))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"CodeGenExtraDirectories"
			value      	("CodeGenExtraDirectoriesSet" 0))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"StripClassPrefix"
			value      	"")
		    (object Attribute
			tool       	"Cplusplus"
			name       	"UseTabs"
			value      	FALSE)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"TabWidth"
			value      	8)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"IndentWidth"
			value      	4)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"AccessIndentation"
			value      	-2)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"CreateBackupFiles"
			value      	FALSE)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"ModelIdCommentRules"
			value      	("ModelIdCommentRulesSet" 1))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"CommentRules"
			value      	("CommentRulesSet" 1))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"PageWidth"
			value      	80)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"ClassMemberOrder"
			value      	("MemberOrderSet" 1))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"OneParameterPerLine"
			value      	FALSE)
		    (object Attribute
			tool       	"Cplusplus"
			name       	"NamespaceBraceStyle"
			value      	("BraceStyleSet" 2))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"ClassBraceStyle"
			value      	("BraceStyleSet" 2))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"FunctionBraceStyle"
			value      	("BraceStyleSet" 2))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"Copyright"
			value      	(value Text ""))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"InitialHeaderIncludes"
			value      	(value Text ""))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"InitialBodyIncludes"
			value      	(value Text ""))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"CodeGenExtraDirectoriesSet"
			value      	(list Attribute_Set
			    (object Attribute
				tool       	"Cplusplus"
				name       	"None"
				value      	0)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Namespaces"
				value      	1)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Packages"
				value      	2)))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"FileCapitalizationSet"
			value      	(list Attribute_Set
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Same as model"
				value      	0)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Lower case"
				value      	1)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Upper case"
				value      	2)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Lower case with underscores"
				value      	3)))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"BraceStyleSet"
			value      	(list Attribute_Set
			    (object Attribute
				tool       	"Cplusplus"
				name       	"B1"
				value      	1)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"B2"
				value      	2)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"B3"
				value      	3)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"B4"
				value      	4)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"B5"
				value      	5)))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"MemberOrderSet"
			value      	(list Attribute_Set
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Public First"
				value      	1)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Private First"
				value      	2)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Order by kind"
				value      	3)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Unordered"
				value      	4)))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"ModelIdCommentRulesSet"
			value      	(list Attribute_Set
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Code generation only"
				value      	1)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Code generation and reverse engineering"
				value      	2)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Never generate model IDs"
				value      	3)))
		    (object Attribute
			tool       	"Cplusplus"
			name       	"CommentRulesSet"
			value      	(list Attribute_Set
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Always synchronize"
				value      	1)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Code generation only"
				value      	2)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Reverse engineering only"
				value      	3)
			    (object Attribute
				tool       	"Cplusplus"
				name       	"Never synchronize"
				value      	4)))))
	    (object Attribute
		tool       	"Cplusplus"
		name       	"default__Param"
		value      	(list Attribute_Set
		    (object Attribute
			tool       	"Cpl

⌨️ 快捷键说明

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