class parser interface