Project

General

Profile

Actions

Getting Started » History » Revision 1

Revision 1/11 | Next »
Alexander Kamkin, 05/05/2014 02:19 PM


Getting Started

Developing a Backend

package ru.ispras.verilog.parser.sample;

import ru.ispras.verilog.parser.VerilogBackend;
import ru.ispras.verilog.parser.model.*;
import ru.ispras.verilog.parser.walker.*;

/**
 * This class illustrates development of a Verilog back-end.
 *
 * @author <a href="mailto:kamkin@ispras.ru">Alexander Kamkin</a>
 */
public final class VerilogPrinter extends VerilogBackend
{
    /**
     * {@inheritDoc}
     */
    @Override
    public void start(final VerilogNode root)
    {
        VerilogTreeWalker walker = new VerilogTreeWalker(root, new VerilogNodePrinter());
        walker.start();
    }
}

Updated by Alexander Kamkin over 10 years ago · 11 revisions