extract ParsingState