code: NameAndType nameType(Symbol sym) {
          return new NameAndType(sym.name, sym.externalType(types), types);
          // the NameAndType is generated from a symbol reference, and the
          // adjustment of adding an additional this$n parameter needs to be made.
      }
docs: Given a symbol, return its name-and-type.