diff options
Diffstat (limited to 'TAO/TAO_IDL/include/ast_decl.h')
-rw-r--r-- | TAO/TAO_IDL/include/ast_decl.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/include/ast_decl.h b/TAO/TAO_IDL/include/ast_decl.h index 58aa779927a..5187a98fc9f 100644 --- a/TAO/TAO_IDL/include/ast_decl.h +++ b/TAO/TAO_IDL/include/ast_decl.h @@ -95,6 +95,7 @@ class ast_visitor; class TAO_IDL_FE_Export COMMON_Base { public: + COMMON_Base (bool local = false, bool abstract = false); @@ -110,6 +111,9 @@ public: // A no-op, overridden in the child classes. virtual void destroy (void); + // Narrowing. + + protected: bool is_local_; bool is_abstract_; @@ -148,14 +152,13 @@ public: , NT_native // Denotes a native type // dependent on the programming // language - , NT_factory // Denotes a OBV or home factory construct - , NT_finder // Denotes a home finder construct + , NT_factory // Denotes a OBV factory construct , NT_component // Denotes a CORBA component , NT_component_fwd // Denotes a forward declared component , NT_home // Denotes a CORBA component home , NT_eventtype // Denotes a CCM event source or sink , NT_eventtype_fwd // Denotes a forward declared CCM event - , NT_valuebox // Denotes a value box + , NT_valuebox // Denotes an value box , NT_type // Template interface parameter , NT_fixed // Denotes (unsupported) fixed type , NT_porttype // Denotes a port type @@ -170,6 +173,11 @@ public: , NT_param_holder // Denotes a template param placeholder }; + // Operations. + + // Constructor(s). + AST_Decl (void); + AST_Decl (NodeType type, UTL_ScopedName *n, bool anonymous = false); @@ -253,6 +261,9 @@ public: Identifier *original_local_name (void); void original_local_name (Identifier *); + bool added (void); + void set_added (bool is_it); + // Narrowing. DEF_NARROW_FROM_DECL(AST_Decl); @@ -346,6 +357,9 @@ private: Identifier *pd_original_local_name; // _cxx_ removed if any. + bool pd_added; + // Already added. + char *full_name_; // Our full scoped name. |