1 /* 2 * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved. 3 * Use of this file is governed by the BSD 3-clause license that 4 * can be found in the LICENSE.txt file in the project root. 5 */ 6 7 package org.antlr.v4.runtime.atn; 8 9 /** 10 * Represents the serialization type of a {@link LexerAction}. 11 * 12 * @author Sam Harwell 13 * @since 4.2 14 */ 15 public enum LexerActionType { 16 /** 17 * The type of a {@link LexerChannelAction} action. 18 */ 19 CHANNEL, 20 /** 21 * The type of a {@link LexerCustomAction} action. 22 */ 23 CUSTOM, 24 /** 25 * The type of a {@link LexerModeAction} action. 26 */ 27 MODE, 28 /** 29 * The type of a {@link LexerMoreAction} action. 30 */ 31 MORE, 32 /** 33 * The type of a {@link LexerPopModeAction} action. 34 */ 35 POP_MODE, 36 /** 37 * The type of a {@link LexerPushModeAction} action. 38 */ 39 PUSH_MODE, 40 /** 41 * The type of a {@link LexerSkipAction} action. 42 */ 43 SKIP, 44 /** 45 * The type of a {@link LexerTypeAction} action. 46 */ 47 TYPE, 48 } 49