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 /** Start of {@code (A|B|...)+} loop. Technically a decision state, but 10 * we don't use for code generation; somebody might need it, so I'm defining 11 * it for completeness. In reality, the {@link PlusLoopbackState} node is the 12 * real decision-making note for {@code A+}. 13 */ 14 public final class PlusBlockStartState extends BlockStartState { 15 public PlusLoopbackState loopBackState; 16 17 @Override getStateType()18 public int getStateType() { 19 return PLUS_BLOCK_START; 20 } 21 } 22