symbol table builder visitor,

need to set type foreach, and the library accept