abouttreesummaryrefslogcommitdiff
path: root/antlr4-cpp-runtime-4.9.2-source/runtime/src/atn/LexerActionType.h
blob: a72f15c4b5bda411f3c54b105954921569191d8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
 * Use of this file is governed by the BSD 3-clause license that
 * can be found in the LICENSE.txt file in the project root.
 */

#pragma once

#include "antlr4-common.h"

namespace antlr4 {
namespace atn {

  /// <summary>
  /// Represents the serialization type of a <seealso cref="LexerAction"/>.
  ///
  /// @author Sam Harwell
  /// @since 4.2
  /// </summary>
  enum class LexerActionType : size_t {
    /// <summary>
    /// The type of a <seealso cref="LexerChannelAction"/> action.
    /// </summary>
    CHANNEL,
    /// <summary>
    /// The type of a <seealso cref="LexerCustomAction"/> action.
    /// </summary>
    CUSTOM,
    /// <summary>
    /// The type of a <seealso cref="LexerModeAction"/> action.
    /// </summary>
    MODE,
    /// <summary>
    /// The type of a <seealso cref="LexerMoreAction"/> action.
    /// </summary>
    MORE,
    /// <summary>
    /// The type of a <seealso cref="LexerPopModeAction"/> action.
    /// </summary>
    POP_MODE,
    /// <summary>
    /// The type of a <seealso cref="LexerPushModeAction"/> action.
    /// </summary>
    PUSH_MODE,
    /// <summary>
    /// The type of a <seealso cref="LexerSkipAction"/> action.
    /// </summary>
    SKIP,
    /// <summary>
    /// The type of a <seealso cref="LexerTypeAction"/> action.
    /// </summary>
    TYPE,
  };

} // namespace atn
} // namespace antlr4