org.jacorb.idl.javamapping
Class JavaMappingGeneratingVisitor

java.lang.Object
  extended byorg.jacorb.idl.javamapping.JavaMappingGeneratingVisitor
All Implemented Interfaces:
IDLTreeVisitor

public class JavaMappingGeneratingVisitor
extends java.lang.Object
implements IDLTreeVisitor


Constructor Summary
JavaMappingGeneratingVisitor()
          used by the IDL compiler
 
Method Summary
 void visitAlias(AliasTypeSpec alias)
           
 void visitConstrTypeSpec(ConstrTypeSpec typeDecl)
           
 void visitDeclaration(Declaration declaration)
           
 void visitDefinition(Definition def)
           
 void visitDefinitions(Definitions defs)
           
 void visitEnum(EnumType enumType)
           
 void visitInterface(Interface interfce)
           
 void visitInterfaceBody(InterfaceBody body)
           
 void visitMethod(Method m)
           
 void visitModule(Module module)
          Visit a module
 void visitNative(NativeType _native)
           
 void visitOpDecl(OpDecl op)
           
 void visitParamDecl(ParamDecl param)
           
 void visitSequence(SequenceType seq)
           
 void visitSpec(Spec spec)
          entry point for the code generation, called from the parser.
 void visitStruct(StructType struct)
           
 void visitTypeDeclaration(TypeDeclaration typeDecl)
           
 void visitTypeDef(TypeDef typedef)
           
 void visitUnion(UnionType union)
           
 void visitValue(Value value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaMappingGeneratingVisitor

public JavaMappingGeneratingVisitor()
used by the IDL compiler

Method Detail

visitSpec

public void visitSpec(Spec spec)
entry point for the code generation, called from the parser.

Specified by:
visitSpec in interface IDLTreeVisitor
Parameters:
spec - The spec node from the compiler's AST

visitDefinitions

public void visitDefinitions(Definitions defs)
Specified by:
visitDefinitions in interface IDLTreeVisitor

visitDefinition

public void visitDefinition(Definition def)
Specified by:
visitDefinition in interface IDLTreeVisitor

visitDeclaration

public void visitDeclaration(Declaration declaration)
Specified by:
visitDeclaration in interface IDLTreeVisitor

visitModule

public void visitModule(Module module)
Description copied from interface: IDLTreeVisitor
Visit a module

Specified by:
visitModule in interface IDLTreeVisitor

visitInterface

public void visitInterface(Interface interfce)
Specified by:
visitInterface in interface IDLTreeVisitor

visitInterfaceBody

public void visitInterfaceBody(InterfaceBody body)
Specified by:
visitInterfaceBody in interface IDLTreeVisitor

visitMethod

public void visitMethod(Method m)
Specified by:
visitMethod in interface IDLTreeVisitor

visitOpDecl

public void visitOpDecl(OpDecl op)
Specified by:
visitOpDecl in interface IDLTreeVisitor

visitParamDecl

public void visitParamDecl(ParamDecl param)
Specified by:
visitParamDecl in interface IDLTreeVisitor

visitTypeDeclaration

public void visitTypeDeclaration(TypeDeclaration typeDecl)
Specified by:
visitTypeDeclaration in interface IDLTreeVisitor

visitConstrTypeSpec

public void visitConstrTypeSpec(ConstrTypeSpec typeDecl)
Specified by:
visitConstrTypeSpec in interface IDLTreeVisitor

visitStruct

public void visitStruct(StructType struct)
Specified by:
visitStruct in interface IDLTreeVisitor

visitEnum

public void visitEnum(EnumType enumType)
Specified by:
visitEnum in interface IDLTreeVisitor

visitUnion

public void visitUnion(UnionType union)
Specified by:
visitUnion in interface IDLTreeVisitor

visitSequence

public void visitSequence(SequenceType seq)

visitNative

public void visitNative(NativeType _native)
Specified by:
visitNative in interface IDLTreeVisitor

visitTypeDef

public void visitTypeDef(TypeDef typedef)
Specified by:
visitTypeDef in interface IDLTreeVisitor

visitAlias

public void visitAlias(AliasTypeSpec alias)
Specified by:
visitAlias in interface IDLTreeVisitor

visitValue

public void visitValue(Value value)
Specified by:
visitValue in interface IDLTreeVisitor