]> gitweb.ps.run Git - toc/blob - antlr4-cpp-runtime-4.9.2-source/runtime/src/atn/LexerActionType.h
add antlr source code and ReadMe
[toc] / antlr4-cpp-runtime-4.9.2-source / runtime / src / atn / LexerActionType.h
1 /* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
2  * Use of this file is governed by the BSD 3-clause license that
3  * can be found in the LICENSE.txt file in the project root.
4  */
5
6 #pragma once
7
8 #include "antlr4-common.h"
9
10 namespace antlr4 {
11 namespace atn {
12
13   /// <summary>
14   /// Represents the serialization type of a <seealso cref="LexerAction"/>.
15   ///
16   /// @author Sam Harwell
17   /// @since 4.2
18   /// </summary>
19   enum class LexerActionType : size_t {
20     /// <summary>
21     /// The type of a <seealso cref="LexerChannelAction"/> action.
22     /// </summary>
23     CHANNEL,
24     /// <summary>
25     /// The type of a <seealso cref="LexerCustomAction"/> action.
26     /// </summary>
27     CUSTOM,
28     /// <summary>
29     /// The type of a <seealso cref="LexerModeAction"/> action.
30     /// </summary>
31     MODE,
32     /// <summary>
33     /// The type of a <seealso cref="LexerMoreAction"/> action.
34     /// </summary>
35     MORE,
36     /// <summary>
37     /// The type of a <seealso cref="LexerPopModeAction"/> action.
38     /// </summary>
39     POP_MODE,
40     /// <summary>
41     /// The type of a <seealso cref="LexerPushModeAction"/> action.
42     /// </summary>
43     PUSH_MODE,
44     /// <summary>
45     /// The type of a <seealso cref="LexerSkipAction"/> action.
46     /// </summary>
47     SKIP,
48     /// <summary>
49     /// The type of a <seealso cref="LexerTypeAction"/> action.
50     /// </summary>
51     TYPE,
52   };
53
54 } // namespace atn
55 } // namespace antlr4