Implements the syntax of continuous usage of syntax '.' and '[]'