public class JavaMappingGeneratingVisitor extends Object implements IDLTreeVisitor
Constructor and Description |
---|
JavaMappingGeneratingVisitor()
used by the IDL compiler
|
Modifier and Type | Method and Description |
---|---|
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 |
visitSimpleTypeSpec(SimpleTypeSpec typeDecl) |
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) |
void |
visitVectorType(VectorType typeDecl) |
public JavaMappingGeneratingVisitor()
public void visitSpec(Spec spec)
visitSpec
in interface IDLTreeVisitor
spec
- The spec node from the compiler's ASTpublic void visitDefinitions(Definitions defs)
visitDefinitions
in interface IDLTreeVisitor
public void visitDefinition(Definition def)
visitDefinition
in interface IDLTreeVisitor
public void visitDeclaration(Declaration declaration)
visitDeclaration
in interface IDLTreeVisitor
public void visitModule(Module module)
IDLTreeVisitor
visitModule
in interface IDLTreeVisitor
module
- The module node from the compiler's ASTpublic void visitInterface(Interface interfce)
visitInterface
in interface IDLTreeVisitor
public void visitInterfaceBody(InterfaceBody body)
visitInterfaceBody
in interface IDLTreeVisitor
public void visitMethod(Method m)
visitMethod
in interface IDLTreeVisitor
public void visitOpDecl(OpDecl op)
visitOpDecl
in interface IDLTreeVisitor
public void visitParamDecl(ParamDecl param)
visitParamDecl
in interface IDLTreeVisitor
public void visitTypeDeclaration(TypeDeclaration typeDecl)
visitTypeDeclaration
in interface IDLTreeVisitor
public void visitConstrTypeSpec(ConstrTypeSpec typeDecl)
visitConstrTypeSpec
in interface IDLTreeVisitor
public void visitStruct(StructType struct)
visitStruct
in interface IDLTreeVisitor
public void visitEnum(EnumType enumType)
visitEnum
in interface IDLTreeVisitor
public void visitUnion(UnionType union)
visitUnion
in interface IDLTreeVisitor
public void visitSequence(SequenceType seq)
public void visitNative(NativeType _native)
visitNative
in interface IDLTreeVisitor
public void visitTypeDef(TypeDef typedef)
visitTypeDef
in interface IDLTreeVisitor
public void visitAlias(AliasTypeSpec alias)
visitAlias
in interface IDLTreeVisitor
public void visitValue(Value value)
visitValue
in interface IDLTreeVisitor
public void visitSimpleTypeSpec(SimpleTypeSpec typeDecl)
visitSimpleTypeSpec
in interface IDLTreeVisitor
public void visitVectorType(VectorType typeDecl)
visitVectorType
in interface IDLTreeVisitor
Copyright © 2017 JacORB. All rights reserved.