Wrote treevisitor strucutre, wrote function for visiting global space (syntax_treevisitor_visitglobalspace)