summaryrefslogtreecommitdiff
path: root/src/msil/ch/epfl/lamp/compiler/msil/emit/Visitable.scala
blob: 963c587bc719e3e91bd2d5ed2309edfb71bb8fcc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * System.Reflection.Emit-like API for writing .NET assemblies to MSIL
 */

// $Id$

package ch.epfl.lamp.compiler.msil.emit

import java.io.IOException

/**
 * The Visitable interface
 */
trait Visitable {

    //##########################################################################

    /**
     * the visitable method to apply a visitor
     */
    @throws(classOf[IOException])
    def apply(v: Visitor): Unit

    //##########################################################################
}