PageRenderTime 23ms CodeModel.GetById 8ms RepoModel.GetById 1ms app.codeStats 0ms

/mordor/ragel.xml

http://github.com/mozy/mordor
XML | 268 lines | 268 code | 0 blank | 0 comment | 0 complexity | b185de98b969ae0d3cef6dcdc785644e MD5 | raw file
Possible License(s): BSD-3-Clause
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:transformCallback="Microsoft.Cpp.Dev10.ConvertPropertyCallback">
  3. <Rule
  4. Name="Ragel"
  5. PageTemplate="tool"
  6. DisplayName=""
  7. Order="200">
  8. <Rule.DataSource>
  9. <DataSource
  10. Persistence="ProjectFile"
  11. ItemType="Ragel" />
  12. </Rule.DataSource>
  13. <Rule.Categories>
  14. <Category
  15. Name="General">
  16. <Category.DisplayName>
  17. <sys:String>General</sys:String>
  18. </Category.DisplayName>
  19. </Category>
  20. <Category
  21. Name="Command Line"
  22. Subtype="CommandLine">
  23. <Category.DisplayName>
  24. <sys:String>Command Line</sys:String>
  25. </Category.DisplayName>
  26. </Category>
  27. </Rule.Categories>
  28. <StringListProperty
  29. Name="Inputs"
  30. Category="Command Line"
  31. IsRequired="true"
  32. Switch=" ">
  33. <StringListProperty.DataSource>
  34. <DataSource
  35. Persistence="ProjectFile"
  36. ItemType="Ragel"
  37. SourceType="Item" />
  38. </StringListProperty.DataSource>
  39. </StringListProperty>
  40. <BoolProperty
  41. Name="NoDuplicates"
  42. DisplayName="No Duplicate Removal"
  43. Description="Do not remove duplicates from action lists (-d)"
  44. Switch="-d" />
  45. <BoolProperty
  46. Name="XML"
  47. Category="Visualization"
  48. DisplayName="Emit XML"
  49. Description="Run the frontend only: emit XML intermediate format (-x)"
  50. Switch="-x" />
  51. <BoolProperty
  52. Name="Graphviz"
  53. Category="Visualization"
  54. DisplayName="Generate Graphviz"
  55. Description="Generate a dot file for Graphviz (-V)"
  56. Switch="-V" />
  57. <BoolProperty
  58. Name="PrintableCharacters"
  59. Category="Visualization"
  60. DisplayName="Display printable characters"
  61. Description="Display printable characters on labels (-p)"
  62. Switch="-p" />
  63. <BoolProperty
  64. Name="InhibitLineDirectives"
  65. Category="Code Generation"
  66. DisplayName="Inhibit line directives"
  67. Description="Inhibit the writing of #line directives (C/D/C#) (-L)"
  68. Switch="-L" />
  69. <StringProperty
  70. Name="OutputFileName"
  71. Category="Output File"
  72. DisplayName="Output File Name"
  73. Description="Write output to &lt;file&gt; (-o &lt;file&gt;)"
  74. Switch="-o &quot;[value]&quot;" />
  75. <StringListProperty
  76. Name="IncludePaths"
  77. DisplayName="Include Paths"
  78. Description="Add &lt;dir&gt; to the list of directories to search for included and imported files (-I [path])"
  79. Separator=";"
  80. Switch="-I &quot;[value]&quot;" />
  81. <StringProperty
  82. Name="Spec"
  83. Category="Visualization"
  84. DisplayName="Spec"
  85. Description="FSM specification to output (for graphviz output) (-S &lt;spec&gt;)"
  86. Switch="-S [value]" />
  87. <StringProperty
  88. Name="Machine"
  89. Category="Visualization"
  90. DisplayName="Machine"
  91. Description="Machine definition/instantiation to output (for graphviz output) (-M &lt;spec&gt;)"
  92. Switch="-M [value]" />
  93. <EnumProperty
  94. Name="Minimization"
  95. DisplayName="FSM Minimization"
  96. Description="Specifies when to perform fsm minimization (-n, -m, -l, e)">
  97. <EnumValue
  98. Name="1"
  99. DisplayName="Do not perform minimization (-n)"
  100. Switch="-n" />
  101. <EnumValue
  102. Name="2"
  103. DisplayName="Minimize at the end of the compilation (-m)"
  104. Switch="-m" />
  105. <EnumValue
  106. Name="0"
  107. DisplayName="Minimize after most operations (-l)"
  108. Switch="-l" />
  109. <EnumValue
  110. Name="3"
  111. DisplayName="Minimize after every operation (-e)"
  112. Switch="-e" />
  113. </EnumProperty>
  114. <EnumProperty
  115. Name="Host"
  116. Category="Code Generation"
  117. DisplayName="Host Language">
  118. <EnumValue
  119. Name="0"
  120. DisplayName="C, C++, Obj-C or Obj-C++ (-C)"
  121. Switch="-C" />
  122. <EnumValue
  123. Name="1"
  124. DisplayName="D (-D)"
  125. Switch="-D" />
  126. <EnumValue
  127. Name="2"
  128. DisplayName="Java (-J)"
  129. Switch="-J" />
  130. <EnumValue
  131. Name="3"
  132. DisplayName="Ruby (-R)"
  133. Switch="-R" />
  134. <EnumValue
  135. Name="4"
  136. DisplayName="C# (-A)"
  137. Switch="-A" />
  138. </EnumProperty>
  139. <EnumProperty
  140. Name="CodeStyle"
  141. Category="Code Generation"
  142. DisplayName="code style">
  143. <EnumValue
  144. Name="0"
  145. DisplayName="Table driven FSM (C/D/Java/Ruby/C#) (-T0)"
  146. Switch="-T0" />
  147. <EnumValue
  148. Name="1"
  149. DisplayName="Faster table driven FSM (C/D/Ruby/C#) (-T1)"
  150. Switch="-T1" />
  151. <EnumValue
  152. Name="2"
  153. DisplayName="Flat table driven FSM (C/D/Ruby/C#) (-F0)"
  154. Switch="-F0" />
  155. <EnumValue
  156. Name="3"
  157. DisplayName="Faster flat table driven FSM (C/D/Ruby/C#) (-F1)"
  158. Switch="-F1" />
  159. <EnumValue
  160. Name="4"
  161. DisplayName="Goto driven FSM (C/D/C#) (-G0)"
  162. Switch="-G0" />
  163. <EnumValue
  164. Name="5"
  165. DisplayName="Faster goto driven FSM (C/D/C#) (-G1)"
  166. Switch="-G1" />
  167. <EnumValue
  168. Name="6"
  169. DisplayName="Really fast goto driven FSM (C/D) (-G2)"
  170. Switch="-G2" />
  171. <EnumValue
  172. Name="7"
  173. DisplayName="N-Way Split really fast goto driven FSM (C/D) (-P&lt;N&gt;)"
  174. Switch="-P[$NWaySplit]" />
  175. </EnumProperty>
  176. <IntProperty
  177. Name="NWaySplit"
  178. Category="Code Generation"
  179. DisplayName="N"
  180. Description="N for N-Way Split really fast goto driven FSM" />
  181. <StringProperty
  182. Name="CommandLineTemplate"
  183. DisplayName="Command Line"
  184. Visible="False"
  185. IncludeInCommandLine="False" />
  186. <DynamicEnumProperty
  187. Name="RagelBeforeTargets"
  188. Category="General"
  189. EnumProvider="Targets"
  190. IncludeInCommandLine="False">
  191. <DynamicEnumProperty.DisplayName>
  192. <sys:String>Execute Before</sys:String>
  193. </DynamicEnumProperty.DisplayName>
  194. <DynamicEnumProperty.Description>
  195. <sys:String>Specifies the targets for the build customization to run before.</sys:String>
  196. </DynamicEnumProperty.Description>
  197. <DynamicEnumProperty.ProviderSettings>
  198. <NameValuePair
  199. Name="Exclude"
  200. Value="^RagelBeforeTargets|^Compute" />
  201. </DynamicEnumProperty.ProviderSettings>
  202. <DynamicEnumProperty.DataSource>
  203. <DataSource
  204. Persistence="ProjectFile"
  205. HasConfigurationCondition="true" />
  206. </DynamicEnumProperty.DataSource>
  207. </DynamicEnumProperty>
  208. <DynamicEnumProperty
  209. Name="RagelAfterTargets"
  210. Category="General"
  211. EnumProvider="Targets"
  212. IncludeInCommandLine="False">
  213. <DynamicEnumProperty.DisplayName>
  214. <sys:String>Execute After</sys:String>
  215. </DynamicEnumProperty.DisplayName>
  216. <DynamicEnumProperty.Description>
  217. <sys:String>Specifies the targets for the build customization to run after.</sys:String>
  218. </DynamicEnumProperty.Description>
  219. <DynamicEnumProperty.ProviderSettings>
  220. <NameValuePair
  221. Name="Exclude"
  222. Value="^RagelAfterTargets|^Compute" />
  223. </DynamicEnumProperty.ProviderSettings>
  224. <DynamicEnumProperty.DataSource>
  225. <DataSource
  226. Persistence="ProjectFile"
  227. ItemType=""
  228. HasConfigurationCondition="true" />
  229. </DynamicEnumProperty.DataSource>
  230. </DynamicEnumProperty>
  231. <StringListProperty
  232. Name="Outputs"
  233. DisplayName="Outputs"
  234. Visible="False"
  235. IncludeInCommandLine="False" />
  236. <StringProperty
  237. Name="ExecutionDescription"
  238. DisplayName="Execution Description"
  239. Visible="False"
  240. IncludeInCommandLine="False" />
  241. <StringListProperty
  242. Name="AdditionalDependencies"
  243. DisplayName="Additional Dependencies"
  244. IncludeInCommandLine="False"
  245. Visible="false" />
  246. <StringProperty
  247. Subtype="AdditionalOptions"
  248. Name="AdditionalOptions"
  249. Category="Command Line">
  250. <StringProperty.DisplayName>
  251. <sys:String>Additional Options</sys:String>
  252. </StringProperty.DisplayName>
  253. <StringProperty.Description>
  254. <sys:String>Additional Options</sys:String>
  255. </StringProperty.Description>
  256. </StringProperty>
  257. </Rule>
  258. <ItemType
  259. Name="Ragel"
  260. DisplayName="" />
  261. <FileExtension
  262. Name="*.rl"
  263. ContentType="Ragel" />
  264. <ContentType
  265. Name="Ragel"
  266. DisplayName=""
  267. ItemType="Ragel" />
  268. </ProjectSchemaDefinitions>