working through the visitor to generate the appropriate bytecode.