org.jacorb.idl
Interface IDLTreeVisitor

All Known Implementing Classes:
JavaMappingGeneratingVisitor

public interface IDLTreeVisitor

Generic API used by the IDL compiler to call backend code generators. Extend this interface for your own code generator backends. To plug into the compiler, use the IDL compiler option "-backend "

Version:
$Id: IDLTreeVisitor.java,v 1.7 2007-02-06 22:50:35 andre.spiegel Exp $
Author:
Gerald Brose, XTRADYNE Technologies.

Method Summary
 void visitAlias(AliasTypeSpec alias)
           
 void visitConstrTypeSpec(ConstrTypeSpec typeDecl)
           
 void visitDeclaration(Declaration decl)
           
 void visitDefinition(Definition def)
           
 void visitDefinitions(Definitions defs)
           
 void visitEnum(EnumType enumType)
           
 void visitInterface(Interface intf)
           
 void visitInterfaceBody(InterfaceBody body)
           
 void visitMethod(Method m)
           
 void visitModule(Module mod)
          Visit a module
 void visitNative(NativeType _native)
           
 void visitOpDecl(OpDecl decl)
           
 void visitParamDecl(ParamDecl param)
           
 void visitSimpleTypeSpec(SimpleTypeSpec typeDecl)
           
 void visitSpec(Spec spec)
          Visit an IDL specification.
 void visitStruct(StructType struct)
           
 void visitTypeDeclaration(TypeDeclaration typeDecl)
           
 void visitTypeDef(TypeDef typedef)
           
 void visitUnion(UnionType union)
           
 void visitValue(Value value)
           
 void visitVectorType(VectorType typeDecl)
           
 

Method Detail

visitSpec

void visitSpec(Spec spec)
Visit an IDL specification. This method is the top-level entry point called by the IDL compiler for a single compiler run.

Parameters:
spec - The spec node from the compiler's AST

visitModule

void visitModule(Module mod)
Visit a module

Parameters:
mod - The module node from the compiler's AST

visitInterface

void visitInterface(Interface intf)

visitInterfaceBody

void visitInterfaceBody(InterfaceBody body)

visitDefinitions

void visitDefinitions(Definitions defs)

visitDefinition

void visitDefinition(Definition def)

visitDeclaration

void visitDeclaration(Declaration decl)

visitOpDecl

void visitOpDecl(OpDecl decl)

visitMethod

void visitMethod(Method m)

visitParamDecl

void visitParamDecl(ParamDecl param)

visitStruct

void visitStruct(StructType struct)

visitUnion

void visitUnion(UnionType union)

visitEnum

void visitEnum(EnumType enumType)

visitNative

void visitNative(NativeType _native)

visitTypeDef

void visitTypeDef(TypeDef typedef)

visitAlias

void visitAlias(AliasTypeSpec alias)

visitValue

void visitValue(Value value)

visitTypeDeclaration

void visitTypeDeclaration(TypeDeclaration typeDecl)

visitConstrTypeSpec

void visitConstrTypeSpec(ConstrTypeSpec typeDecl)

visitSimpleTypeSpec

void visitSimpleTypeSpec(SimpleTypeSpec typeDecl)

visitVectorType

void visitVectorType(VectorType typeDecl)