feat(AstParser): Made the AST parser private to the scope

relates to #648