diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-11-14 23:08:24 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-11-14 23:08:24 -0800 |
| commit | 404f34f00ecce034a8a06fe4757789c6ce62f3f6 (patch) | |
| tree | 7132435cfa13f0f9b0e872a57ab19d52a12bb103 /src/WixToolset.Extensibility/ICompilerExtension.cs | |
| parent | 3f6e936c5e9d7a9df7e3e0ed1bc17001c53db5b3 (diff) | |
| download | wix-404f34f00ecce034a8a06fe4757789c6ce62f3f6.tar.gz wix-404f34f00ecce034a8a06fe4757789c6ce62f3f6.tar.bz2 wix-404f34f00ecce034a8a06fe4757789c6ce62f3f6.zip | |
Remove ICompilerCore, introduce IParseHelper and other small fixes
Diffstat (limited to 'src/WixToolset.Extensibility/ICompilerExtension.cs')
| -rw-r--r-- | src/WixToolset.Extensibility/ICompilerExtension.cs | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/WixToolset.Extensibility/ICompilerExtension.cs b/src/WixToolset.Extensibility/ICompilerExtension.cs index 1746a571..0aa5c9e2 100644 --- a/src/WixToolset.Extensibility/ICompilerExtension.cs +++ b/src/WixToolset.Extensibility/ICompilerExtension.cs | |||
| @@ -5,20 +5,12 @@ namespace WixToolset.Extensibility | |||
| 5 | using System.Collections.Generic; | 5 | using System.Collections.Generic; |
| 6 | using System.Xml.Linq; | 6 | using System.Xml.Linq; |
| 7 | using WixToolset.Data; | 7 | using WixToolset.Data; |
| 8 | using WixToolset.Extensibility.Services; | ||
| 9 | 8 | ||
| 10 | /// <summary> | 9 | /// <summary> |
| 11 | /// Interface all compiler extensions implement. | 10 | /// Interface all compiler extensions implement. |
| 12 | /// </summary> | 11 | /// </summary> |
| 13 | public interface ICompilerExtension | 12 | public interface ICompilerExtension |
| 14 | { | 13 | { |
| 15 | #if false | ||
| 16 | /// <summary> | ||
| 17 | /// Gets or sets the compiler core for the extension. | ||
| 18 | /// </summary> | ||
| 19 | /// <value>Compiler core for the extension.</value> | ||
| 20 | ICompilerCore Core { get; set; } | ||
| 21 | #endif | ||
| 22 | /// <summary> | 14 | /// <summary> |
| 23 | /// Gets the schema namespace for this extension. | 15 | /// Gets the schema namespace for this extension. |
| 24 | /// </summary> | 16 | /// </summary> |
| @@ -36,7 +28,7 @@ namespace WixToolset.Extensibility | |||
| 36 | /// <param name="parentElement">Parent element of attribute.</param> | 28 | /// <param name="parentElement">Parent element of attribute.</param> |
| 37 | /// <param name="attribute">Attribute to process.</param> | 29 | /// <param name="attribute">Attribute to process.</param> |
| 38 | /// <param name="context">Extra information about the context in which this element is being parsed.</param> | 30 | /// <param name="context">Extra information about the context in which this element is being parsed.</param> |
| 39 | void ParseAttribute(XElement parentElement, XAttribute attribute, IDictionary<string, string> context); | 31 | void ParseAttribute(Intermediate intermediate, IntermediateSection section, XElement parentElement, XAttribute attribute, IDictionary<string, string> context); |
| 40 | 32 | ||
| 41 | /// <summary> | 33 | /// <summary> |
| 42 | /// Processes an element for the Compiler. | 34 | /// Processes an element for the Compiler. |
| @@ -44,7 +36,7 @@ namespace WixToolset.Extensibility | |||
| 44 | /// <param name="parentElement">Parent element of element to process.</param> | 36 | /// <param name="parentElement">Parent element of element to process.</param> |
| 45 | /// <param name="element">Element to process.</param> | 37 | /// <param name="element">Element to process.</param> |
| 46 | /// <param name="context">Extra information about the context in which this element is being parsed.</param> | 38 | /// <param name="context">Extra information about the context in which this element is being parsed.</param> |
| 47 | void ParseElement(XElement parentElement, XElement element, IDictionary<string, string> context); | 39 | void ParseElement(Intermediate intermediate, IntermediateSection section, XElement parentElement, XElement element, IDictionary<string, string> context); |
| 48 | 40 | ||
| 49 | /// <summary> | 41 | /// <summary> |
| 50 | /// Processes an element for the Compiler, with the ability to supply a component keypath. | 42 | /// Processes an element for the Compiler, with the ability to supply a component keypath. |
| @@ -52,7 +44,7 @@ namespace WixToolset.Extensibility | |||
| 52 | /// <param name="parentElement">Parent element of element to process.</param> | 44 | /// <param name="parentElement">Parent element of element to process.</param> |
| 53 | /// <param name="element">Element to process.</param> | 45 | /// <param name="element">Element to process.</param> |
| 54 | /// <param name="contextValues">Extra information about the context in which this element is being parsed.</param> | 46 | /// <param name="contextValues">Extra information about the context in which this element is being parsed.</param> |
| 55 | ComponentKeyPath ParsePossibleKeyPathElement(XElement parentElement, XElement element, IDictionary<string, string> context); | 47 | ComponentKeyPath ParsePossibleKeyPathElement(Intermediate intermediate, IntermediateSection section, XElement parentElement, XElement element, IDictionary<string, string> context); |
| 56 | 48 | ||
| 57 | /// <summary> | 49 | /// <summary> |
| 58 | /// Called at the end of the compilation of a source file. | 50 | /// Called at the end of the compilation of a source file. |
