diff options
| author | Rob Mensching <rob@firegiant.com> | 2020-06-25 14:43:50 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2020-06-25 14:50:31 -0700 |
| commit | 38afa9e7bc7eacc021f8805f607368a05751e3c3 (patch) | |
| tree | 803b0a8d9a06a7d6f7c4df408437017ae21a883e /src/test/Example.Extension/ExampleCompilerExtension.cs | |
| parent | 8968578d50858721317d410549a9f9b5c62bf1f7 (diff) | |
| download | wix-38afa9e7bc7eacc021f8805f607368a05751e3c3.tar.gz wix-38afa9e7bc7eacc021f8805f607368a05751e3c3.tar.bz2 wix-38afa9e7bc7eacc021f8805f607368a05751e3c3.zip | |
The Great Tuple to Symbol Rename (tm)
Diffstat (limited to 'src/test/Example.Extension/ExampleCompilerExtension.cs')
| -rw-r--r-- | src/test/Example.Extension/ExampleCompilerExtension.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/Example.Extension/ExampleCompilerExtension.cs b/src/test/Example.Extension/ExampleCompilerExtension.cs index 0005b1d5..5b8d4b3f 100644 --- a/src/test/Example.Extension/ExampleCompilerExtension.cs +++ b/src/test/Example.Extension/ExampleCompilerExtension.cs | |||
| @@ -92,8 +92,8 @@ namespace Example.Extension | |||
| 92 | 92 | ||
| 93 | if (!this.Messaging.EncounteredError) | 93 | if (!this.Messaging.EncounteredError) |
| 94 | { | 94 | { |
| 95 | var tuple = this.ParseHelper.CreateTuple(section, sourceLineNumbers, "Example", id); | 95 | var symbol = this.ParseHelper.CreateSymbol(section, sourceLineNumbers, "Example", id); |
| 96 | tuple.Set(0, value); | 96 | symbol.Set(0, value); |
| 97 | } | 97 | } |
| 98 | } | 98 | } |
| 99 | 99 | ||
| @@ -152,12 +152,12 @@ namespace Example.Extension | |||
| 152 | 152 | ||
| 153 | if (!this.Messaging.EncounteredError) | 153 | if (!this.Messaging.EncounteredError) |
| 154 | { | 154 | { |
| 155 | this.ParseHelper.CreateWixSearchTuple(section, sourceLineNumbers, element.Name.LocalName, id, variable, condition, after, this.BundleExtensionId); | 155 | this.ParseHelper.CreateWixSearchSymbol(section, sourceLineNumbers, element.Name.LocalName, id, variable, condition, after, this.BundleExtensionId); |
| 156 | } | 156 | } |
| 157 | 157 | ||
| 158 | if (!this.Messaging.EncounteredError) | 158 | if (!this.Messaging.EncounteredError) |
| 159 | { | 159 | { |
| 160 | var tuple = section.AddTuple(new ExampleSearchTuple(sourceLineNumbers, id) | 160 | var symbol = section.AddSymbol(new ExampleSearchSymbol(sourceLineNumbers, id) |
| 161 | { | 161 | { |
| 162 | SearchFor = searchFor, | 162 | SearchFor = searchFor, |
| 163 | }); | 163 | }); |
| @@ -176,7 +176,7 @@ namespace Example.Extension | |||
| 176 | { | 176 | { |
| 177 | case "Id": | 177 | case "Id": |
| 178 | var refId = this.ParseHelper.GetAttributeIdentifierValue(sourceLineNumbers, attrib); | 178 | var refId = this.ParseHelper.GetAttributeIdentifierValue(sourceLineNumbers, attrib); |
| 179 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, ExampleTupleDefinitions.ExampleSearch, refId); | 179 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, ExampleSymbolDefinitions.ExampleSearch, refId); |
| 180 | break; | 180 | break; |
| 181 | default: | 181 | default: |
| 182 | this.ParseHelper.UnexpectedAttribute(element, attrib); | 182 | this.ParseHelper.UnexpectedAttribute(element, attrib); |
