Edited parser and ast

Changed part of dot access. Still uncertain.