|
Scala example source code file (Visitor.scala)
The Scala Visitor.scala source code/* * System.Reflection.Emit-like API for writing .NET assemblies to MSIL */ package ch.epfl.lamp.compiler.msil.emit import java.io.IOException /** * The Visitor interface to walk through the MSIL code Builder hierarchy. */ trait Visitor { //########################################################################## /** Visit an AssemblyBuilder */ @throws(classOf[IOException]) def caseAssemblyBuilder(assemblyBuilder: AssemblyBuilder): Unit /** Visit a ModuleBuilder */ @throws(classOf[IOException]) def caseModuleBuilder(moduleBuilder: ModuleBuilder): Unit /** Visit a TypeBuilder */ @throws(classOf[IOException]) def caseTypeBuilder(typeBuilder: TypeBuilder): Unit /** Visit a FieldBuilder */ @throws(classOf[IOException]) def caseFieldBuilder(fieldBuilder: FieldBuilder): Unit /** Visit a ConstructorBuilder */ @throws(classOf[IOException]) def caseConstructorBuilder(constructorBuilder: ConstructorBuilder): Unit /** Visit a MethodBuilder */ @throws(classOf[IOException]) def caseMethodBuilder(methodBuilder: MethodBuilder): Unit /** Visit a ParameterBuilder */ @throws(classOf[IOException]) def caseParameterBuilder(parameterBuilder: ParameterBuilder): Unit /** Visit an ILGenerator */ @throws(classOf[IOException]) def caseILGenerator(iLGenerator: ILGenerator): Unit /** Visit an OpCode */ @throws(classOf[IOException]) def caseOpCode(opCode: OpCode): Unit /** Visit a LocalBuilder */ @throws(classOf[IOException]) def caseLocalBuilder(localBuilder: LocalBuilder): Unit //########################################################################## } Other Scala examples (source code examples)Here is a short list of links related to this Scala Visitor.scala source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.