Parser: Parse class declarations in lines of code