add syntaxtree class
update span for each node in src syntax tree