PageRenderTime 25ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/DLR_Main/Languages/IronPython/IronPython/Modules/Builtin.Generated.cs

https://bitbucket.org/mdavid/dlr
C# | 176 lines | 152 code | 7 blank | 17 comment | 0 complexity | fb04f1565635e19967e2cb9ee7f968fc MD5 | raw file
  1. /* ****************************************************************************
  2. *
  3. * Copyright (c) Microsoft Corporation.
  4. *
  5. * This source code is subject to terms and conditions of the Apache License, Version 2.0. A
  6. * copy of the license can be found in the License.html file at the root of this distribution. If
  7. * you cannot locate the Apache License, Version 2.0, please send an email to
  8. * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound
  9. * by the terms of the Apache License, Version 2.0.
  10. *
  11. * You must not remove this notice, or any other, from this software.
  12. *
  13. *
  14. * ***************************************************************************/
  15. using IronPython.Runtime.Exceptions;
  16. using IronPython.Runtime.Types;
  17. namespace IronPython.Modules {
  18. public static partial class Builtin {
  19. #region Generated builtin exceptions
  20. // *** BEGIN GENERATED CODE ***
  21. // generated by function: builtin_gen from: generate_exceptions.py
  22. public static PythonType GeneratorExit {
  23. get { return PythonExceptions.GeneratorExit; }
  24. }
  25. public static PythonType SystemExit {
  26. get { return PythonExceptions.SystemExit; }
  27. }
  28. public static PythonType KeyboardInterrupt {
  29. get { return PythonExceptions.KeyboardInterrupt; }
  30. }
  31. public static PythonType Exception {
  32. get { return PythonExceptions.Exception; }
  33. }
  34. public static PythonType StopIteration {
  35. get { return PythonExceptions.StopIteration; }
  36. }
  37. public static PythonType StandardError {
  38. get { return PythonExceptions.StandardError; }
  39. }
  40. public static PythonType BufferError {
  41. get { return PythonExceptions.BufferError; }
  42. }
  43. public static PythonType ArithmeticError {
  44. get { return PythonExceptions.ArithmeticError; }
  45. }
  46. public static PythonType FloatingPointError {
  47. get { return PythonExceptions.FloatingPointError; }
  48. }
  49. public static PythonType OverflowError {
  50. get { return PythonExceptions.OverflowError; }
  51. }
  52. public static PythonType ZeroDivisionError {
  53. get { return PythonExceptions.ZeroDivisionError; }
  54. }
  55. public static PythonType AssertionError {
  56. get { return PythonExceptions.AssertionError; }
  57. }
  58. public static PythonType AttributeError {
  59. get { return PythonExceptions.AttributeError; }
  60. }
  61. public static PythonType EnvironmentError {
  62. get { return PythonExceptions.EnvironmentError; }
  63. }
  64. public static PythonType IOError {
  65. get { return PythonExceptions.IOError; }
  66. }
  67. public static PythonType OSError {
  68. get { return PythonExceptions.OSError; }
  69. }
  70. public static PythonType WindowsError {
  71. get { return PythonExceptions.WindowsError; }
  72. }
  73. public static PythonType EOFError {
  74. get { return PythonExceptions.EOFError; }
  75. }
  76. public static PythonType ImportError {
  77. get { return PythonExceptions.ImportError; }
  78. }
  79. public static PythonType LookupError {
  80. get { return PythonExceptions.LookupError; }
  81. }
  82. public static PythonType IndexError {
  83. get { return PythonExceptions.IndexError; }
  84. }
  85. public static PythonType KeyError {
  86. get { return PythonExceptions.KeyError; }
  87. }
  88. public static PythonType MemoryError {
  89. get { return PythonExceptions.MemoryError; }
  90. }
  91. public static PythonType NameError {
  92. get { return PythonExceptions.NameError; }
  93. }
  94. public static PythonType UnboundLocalError {
  95. get { return PythonExceptions.UnboundLocalError; }
  96. }
  97. public static PythonType ReferenceError {
  98. get { return PythonExceptions.ReferenceError; }
  99. }
  100. public static PythonType RuntimeError {
  101. get { return PythonExceptions.RuntimeError; }
  102. }
  103. public static PythonType NotImplementedError {
  104. get { return PythonExceptions.NotImplementedError; }
  105. }
  106. public static PythonType SyntaxError {
  107. get { return PythonExceptions.SyntaxError; }
  108. }
  109. public static PythonType IndentationError {
  110. get { return PythonExceptions.IndentationError; }
  111. }
  112. public static PythonType TabError {
  113. get { return PythonExceptions.TabError; }
  114. }
  115. public static PythonType SystemError {
  116. get { return PythonExceptions.SystemError; }
  117. }
  118. public static PythonType TypeError {
  119. get { return PythonExceptions.TypeError; }
  120. }
  121. public static PythonType ValueError {
  122. get { return PythonExceptions.ValueError; }
  123. }
  124. public static PythonType UnicodeError {
  125. get { return PythonExceptions.UnicodeError; }
  126. }
  127. public static PythonType UnicodeDecodeError {
  128. get { return PythonExceptions.UnicodeDecodeError; }
  129. }
  130. public static PythonType UnicodeEncodeError {
  131. get { return PythonExceptions.UnicodeEncodeError; }
  132. }
  133. public static PythonType UnicodeTranslateError {
  134. get { return PythonExceptions.UnicodeTranslateError; }
  135. }
  136. public static PythonType Warning {
  137. get { return PythonExceptions.Warning; }
  138. }
  139. public static PythonType DeprecationWarning {
  140. get { return PythonExceptions.DeprecationWarning; }
  141. }
  142. public static PythonType PendingDeprecationWarning {
  143. get { return PythonExceptions.PendingDeprecationWarning; }
  144. }
  145. public static PythonType RuntimeWarning {
  146. get { return PythonExceptions.RuntimeWarning; }
  147. }
  148. public static PythonType SyntaxWarning {
  149. get { return PythonExceptions.SyntaxWarning; }
  150. }
  151. public static PythonType UserWarning {
  152. get { return PythonExceptions.UserWarning; }
  153. }
  154. public static PythonType FutureWarning {
  155. get { return PythonExceptions.FutureWarning; }
  156. }
  157. public static PythonType ImportWarning {
  158. get { return PythonExceptions.ImportWarning; }
  159. }
  160. public static PythonType UnicodeWarning {
  161. get { return PythonExceptions.UnicodeWarning; }
  162. }
  163. public static PythonType BytesWarning {
  164. get { return PythonExceptions.BytesWarning; }
  165. }
  166. // *** END GENERATED CODE ***
  167. #endregion
  168. }
  169. }