Class GenerateParametersVisitor


  • public class GenerateParametersVisitor
    extends Visitor
    A visitor which generates the code of the two-dimensional array of disassembler parameters (i.e., values on the right side of a format).
    • Constructor Summary

      Constructors 
      Constructor Description
      GenerateParametersVisitor​(java.io.Writer writer)
      Constucts the visitor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void visit​(Disassembler disassembler)
      Writes the list of format sets separated by commas.
      void visit​(Format format)
      Writes the list of parameters separated by commas and enclosed in curly brackets.
      void visit​(Value value)
      Writes the name of the field for the disassembler parameter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GenerateParametersVisitor

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