Class MetaObjectParser.FinalTState

    • Constructor Detail

      • FinalTState

        public FinalTState​(MetaObjectParser parser)
        Constructor.
        Parameters:
        parser - MetaObjectParser parser
    • Method Detail

      • consume

        public AbstractParserState consume​(char ch)
        Consumes a character and returns the next state for the parser.
        Specified by:
        consume in class AbstractParserState
        Parameters:
        ch - next character
        Returns:
        the configured nextState if ch is the expected character or the configure noMatchState otherwise.