Add visibility (public/private/protected/package) to member variables and methods in AST.