CodeCompiler.cs 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. //
  2. // System.CodeDom.Compiler.CodeCompiler
  3. //
  4. // Author(s):
  5. // Jackson Harper ([email protected])
  6. //
  7. // (C) 2002 Jackson Harper, All rights reserved
  8. //
  9. namespace System.CodeDom.Compiler {
  10. public abstract class CodeCompiler : CodeGenerator, ICodeCompiler
  11. {
  12. [MonoTODO]
  13. protected CodeCompiler ()
  14. {
  15. throw new NotImplementedException ();
  16. }
  17. protected abstract string CompilerName {
  18. get;
  19. }
  20. protected abstract string FileExtension {
  21. get;
  22. }
  23. protected abstract string CmdArgsFromParameters (
  24. CompilerParameters options);
  25. [MonoTODO]
  26. protected virtual CompilerResults FromDom (
  27. CompilerParameters options, CodeCompileUnit e)
  28. {
  29. throw new NotImplementedException ();
  30. }
  31. [MonoTODO]
  32. protected virtual CompilerResults FromDomBatch(
  33. CompilerParameters options,CodeCompileUnit[] ea)
  34. {
  35. throw new NotImplementedException ();
  36. }
  37. [MonoTODO]
  38. protected virtual CompilerResults FromFile(
  39. CompilerParameters options,string fileName)
  40. {
  41. throw new NotImplementedException ();
  42. }
  43. [MonoTODO]
  44. protected virtual CompilerResults FromFileBatch(
  45. CompilerParameters options,string[] fileNames)
  46. {
  47. throw new NotImplementedException ();
  48. }
  49. [MonoTODO]
  50. protected virtual CompilerResults FromSource(
  51. CompilerParameters options,string source)
  52. {
  53. throw new NotImplementedException ();
  54. }
  55. [MonoTODO]
  56. protected virtual CompilerResults FromSourceBatch(
  57. CompilerParameters options,string[] sources)
  58. {
  59. throw new NotImplementedException ();
  60. }
  61. [MonoTODO]
  62. protected virtual string GetResponseFileCmdArgs(
  63. CompilerParameters options,string cmdArgs)
  64. {
  65. throw new NotImplementedException ();
  66. }
  67. [MonoTODO]
  68. CompilerResults ICodeCompiler.CompileAssemblyFromDom(
  69. CompilerParameters options,CodeCompileUnit e)
  70. {
  71. throw new NotImplementedException ();
  72. }
  73. [MonoTODO]
  74. CompilerResults ICodeCompiler.CompileAssemblyFromDomBatch(
  75. CompilerParameters options,CodeCompileUnit[] ea)
  76. {
  77. throw new NotImplementedException ();
  78. }
  79. [MonoTODO]
  80. CompilerResults ICodeCompiler.CompileAssemblyFromFile(
  81. CompilerParameters options, string fileName)
  82. {
  83. throw new NotImplementedException ();
  84. }
  85. [MonoTODO]
  86. CompilerResults ICodeCompiler.CompileAssemblyFromFileBatch(
  87. CompilerParameters options, string[] fileNames)
  88. {
  89. throw new NotImplementedException ();
  90. }
  91. [MonoTODO]
  92. CompilerResults ICodeCompiler.CompileAssemblyFromSource(
  93. CompilerParameters options, string source)
  94. {
  95. throw new NotImplementedException ();
  96. }
  97. [MonoTODO]
  98. CompilerResults ICodeCompiler.CompileAssemblyFromSourceBatch(
  99. CompilerParameters options, string[] sources)
  100. {
  101. throw new NotImplementedException ();
  102. }
  103. [MonoTODO]
  104. protected static string JoinStringArray(string[] sa,
  105. string separator)
  106. {
  107. throw new NotImplementedException ();
  108. }
  109. protected abstract void ProcessCompilerOutputLine(
  110. CompilerResults results, string line);
  111. }
  112. }