001/*-------------------------------------------------------------------------+
002|                                                                          |
003| Copyright (c) 2009-2017 CQSE GmbH                                        |
004|                                                                          |
005+-------------------------------------------------------------------------*/
006package eu.cqse.check.framework.shallowparser.languages.cobol;
007
008/**
009 * States in which the {@link CobolShallowParser} can reside
010 */
011public enum ECobolParserState {
012
013        /**
014         * The very top level of a Cobol file containing only the identification
015         * division.
016         */
017        TOP_LEVEL,
018
019        /**
020         * This refers to the region under the identification division, which
021         * includes other divisions.
022         */
023        IN_DIVISION,
024
025        /**
026         * Refers to region inside executable statement blocks of the procedure
027         * division.
028         */
029        IN_STATEMENT
030}