Class GenerateFormatsVisitor


  • public class GenerateFormatsVisitor
    extends Visitor
    A visitor which generates the code of the array of disassembler formats.
    • Constructor Detail

      • GenerateFormatsVisitor

        public GenerateFormatsVisitor​(java.io.Writer writer)
        Constucts the visitor.
        Parameters:
        writer - the output stream to write the code to
    • Method Detail

      • visit

        public void visit​(Format format)
        Saves the format string in the quotes into the variable.
        Overrides:
        visit in class Visitor
        Parameters:
        format - the format node