parseStatements function

Parse statements code and return Campsis statements.