support export function, let in function, and cross reference function

move top level let before function
implement VisitNullNode(for String)