aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Preprocess/IfState.cs
blob: f5bb3e874c0bf944b8c110ea0d2f7ceb96b93a95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.

namespace WixToolset.Core.Preprocess
{
    /// <summary>
    /// Current state of the if context.
    /// </summary>
    internal enum IfState
    {
        /// <summary>Context currently in unknown state.</summary>
        Unknown,

        /// <summary>Context currently inside if statement.</summary>
        If,

        /// <summary>Context currently inside elseif statement..</summary>
        ElseIf,

        /// <summary>Conext currently inside else statement.</summary>
        Else,
    }
}