Assign lexical locations and linkage vector offsets. Generate ASTs.