summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/include/ast_generator.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/include/ast_generator.h')
-rw-r--r--TAO/TAO_IDL/include/ast_generator.h65
1 files changed, 33 insertions, 32 deletions
diff --git a/TAO/TAO_IDL/include/ast_generator.h b/TAO/TAO_IDL/include/ast_generator.h
index 6d71b7be83b..b3604e4a00f 100644
--- a/TAO/TAO_IDL/include/ast_generator.h
+++ b/TAO/TAO_IDL/include/ast_generator.h
@@ -109,15 +109,15 @@ public:
long n_inherits,
AST_Interface **inherits_flat,
long n_inherits_flat,
- bool local,
- bool abstract
+ idl_bool local,
+ idl_bool abstract
);
// Create a node representing a forward declaration of an interface.
virtual AST_InterfaceFwd *create_interface_fwd (
UTL_ScopedName *n,
- bool local,
- bool abstract
+ idl_bool local,
+ idl_bool abstract
);
// Create a node representing a valuetype.
@@ -131,15 +131,15 @@ public:
AST_Interface **supports,
long n_supports,
AST_Interface *supports_concrete,
- bool abstract,
- bool truncatable,
- bool custom
+ idl_bool abstract,
+ idl_bool truncatable,
+ idl_bool custom
);
// Create a node representing a forward declaration of a valuetype.
virtual AST_ValueTypeFwd *create_valuetype_fwd (
UTL_ScopedName *n,
- bool abstract
+ idl_bool abstract
);
// Create a node representing an eventtype.
@@ -153,15 +153,15 @@ public:
AST_Interface **supports,
long n_supports,
AST_Interface *supports_concrete,
- bool abstract,
- bool truncatable,
- bool custom
+ idl_bool abstract,
+ idl_bool truncatable,
+ idl_bool custom
);
// Create a node representing a forward declaration of an eventtype.
virtual AST_EventTypeFwd *create_eventtype_fwd (
UTL_ScopedName *n,
- bool abstract
+ idl_bool abstract
);
// Create a node representing a component.
@@ -194,15 +194,15 @@ public:
// Create a node representing an exception.
virtual AST_Exception *create_exception (
UTL_ScopedName *n,
- bool local,
- bool abstract
+ idl_bool local,
+ idl_bool abstract
);
// Create a node representing a structure.
virtual AST_Structure *create_structure (
UTL_ScopedName *n,
- bool local,
- bool abstract
+ idl_bool local,
+ idl_bool abstract
);
// Create a node representing a forward declaration of a structure.
@@ -210,16 +210,16 @@ public:
// Create a node representing an enum.
virtual AST_Enum *create_enum (UTL_ScopedName *n,
- bool local,
- bool abstract);
+ idl_bool local,
+ idl_bool abstract);
// Create a node representing an operation on an interface.
virtual AST_Operation *create_operation (
AST_Type *rt,
AST_Operation::Flags fl,
UTL_ScopedName *n,
- bool local,
- bool abstract
+ idl_bool local,
+ idl_bool abstract
);
// Create a node representing a field in a structure, exception or
@@ -238,18 +238,18 @@ public:
// Create a node representing an attribute.
virtual AST_Attribute *create_attribute (
- bool ro,
+ idl_bool ro,
AST_Type *ft,
UTL_ScopedName *n,
- bool local,
- bool abstract
+ idl_bool local,
+ idl_bool abstract
);
// Create a node representing a union.
virtual AST_Union *create_union (AST_ConcreteType *dt,
UTL_ScopedName *n,
- bool local,
- bool abstract);
+ idl_bool local,
+ idl_bool abstract);
// Create a node representing a forward declaration of a union.
virtual AST_UnionFwd *create_union_fwd (UTL_ScopedName *n);
@@ -284,7 +284,8 @@ public:
virtual AST_Expression *create_expr (long v);
- virtual AST_Expression *create_expr (bool b);
+ virtual AST_Expression *create_expr (long v,
+ AST_Expression::ExprType t);
virtual AST_Expression *create_expr (idl_uns_long v,
AST_Expression::ExprType t);
@@ -307,15 +308,15 @@ public:
virtual AST_Array *create_array (UTL_ScopedName *n,
unsigned long ndims,
UTL_ExprList *dims,
- bool local,
- bool abstract);
+ idl_bool local,
+ idl_bool abstract);
// Create a node representing a sequence type.
virtual AST_Sequence *create_sequence (AST_Expression *v,
AST_Type *bt,
UTL_ScopedName *n,
- bool local,
- bool abstract);
+ idl_bool local,
+ idl_bool abstract);
// Create a node representing a string type.
virtual AST_String *create_string (AST_Expression *v);
@@ -326,8 +327,8 @@ public:
// Create a node representing a type renaming (typedef).
virtual AST_Typedef*create_typedef (AST_Type *bt,
UTL_ScopedName *n,
- bool local,
- bool abstract);
+ idl_bool local,
+ idl_bool abstract);
// Create a node representing a native.
virtual AST_Native *create_native (UTL_ScopedName *n);