-
_j<c       s      d  k  l Z l Z l Z  d k l Z ! d   Z + d Z 1 d   Z 6 d   Z	 ? h  Z
 A d e i f d     YZ  d e i f d	     YZ d
 S(   (   s   idlasts   idltypes
   idlvisitor(   s   utilc    sm   ! " t  o t |  t i  p t  $ t   } % t |  } & | i
 |  ( |  i |  ) d  Sd  S(   N(   s	   __debug__s
   isinstances   trees   idlasts   ASTs   AssertionErrors   SupportedTypeVisitors   TypeVisitors   SupportedASTVisitors
   ASTVisitors   setASTVisitors   accept(   s   trees
   ASTVisitors   TypeVisitor(    (    s   ./cxx/support.pys   checkIDL! s   $s   omniORB does not currently support:
  longlong, longdouble, wchar, wstring, fixed, valuetypes,
  CORBA::Principal, abstract interfaces, native
c    s5   1 2 d |  d } 3 | t } 4 t i |  d  S(   Ns*   Unsupported IDL construct found in input (s   )

(   s   founds   errors
   error_bodys   utils
   fatalError(   s   founds   error(    (    s   ./cxx/support.pys   unsupportedIDL1 s   c    s5   6 7 d |  d } 8 | t } 9 t i |  d  S(   Ns%   Unsupported IDL type found in input (s   )

(   s   founds   errors
   error_bodys   utils
   fatalError(   s   founds   error(    (    s   ./cxx/support.pys   unsupportedType6 s   s   SupportedASTVisitorc      s%  A B d   Z  E d   Z I d   Z P d   Z Z d   Z a d   Z g d   Z n d   Z w d	   Z  d
   Z	  d   Z
  d   Z  d   Z  d   Z  d   Z  d   Z  d   Z  d   Z  d   Z  d   Z  d   Z  d   Z  d   Z  d   Z RS(   Nc    s   B C | |  _  d  S(   N(   s   type_visitors   self(   s   selfs   type_visitor(    (    s   ./cxx/support.pys   __init__B s   c    s4   E F x' | i   DF ] } G | i |   q Wd  S(   N(   s   nodes   declarationss   declarations   accepts   self(   s   selfs   nodes   declaration(    (    s   ./cxx/support.pys   visitASTE s    	c    s_   I J t  i |  o J d  Sn K d t  | <M x' | i   DM ] } N | i |   q> Wd  S(   Ni   (   s   seens   has_keys   nodes   definitionss
   definitions   accepts   self(   s   selfs   nodes
   definition(    (    s   ./cxx/support.pys   visitModuleI s     	c    s   P Q t  i |  o Q d  Sn R d t  | <T | i   o U t d  n W x' | i   DW ] } X | i |   q_ Wd  S(   Ni   s   abstract interfaces(	   s   seens   has_keys   nodes   abstracts   unsupportedIDLs   contentss   decls   accepts   self(   s   selfs   nodes   decl(    (    s   ./cxx/support.pys   visitInterfaceP s     	c    sS   Z [ t  i |  o [ d  Sn \ d t  | <^ | i   o _ t d  n d  S(   Ni   s   abstract interfaces(   s   seens   has_keys   nodes   abstracts   unsupportedIDL(   s   selfs   node(    (    s   ./cxx/support.pys   visitForwardZ s
    c    sK   a b t  i |  o b d  Sn c d t  | <e | i   i |  i  d  S(   Ni   (   s   seens   has_keys   nodes	   constTypes   accepts   selfs   type_visitor(   s   selfs   node(    (    s   ./cxx/support.pys
   visitConsta s    c    s\   g h t  i |  o h d  Sn i d t  | <k | i   o l | i   i |   n d  S(   Ni   (   s   seens   has_keys   nodes   aliass   accepts   self(   s   selfs   node(    (    s   ./cxx/support.pys   visitDeclaratorg s
    c    sx   n o t  i |  o o d  Sn p d t  | <r | i   i |  i  t x' | i   Dt ] } u | i |   qW Wd  S(   Ni   (	   s   seens   has_keys   nodes	   aliasTypes   accepts   selfs   type_visitors   declaratorss
   declarator(   s   selfs   nodes
   declarator(    (    s   ./cxx/support.pys   visitTypedefn s     	c    sx   w x t  i |  o x d  Sn y d t  | <{ | i   i |  i  } x' | i   D} ] } ~ | i |   qW Wd  S(   Ni   (	   s   seens   has_keys   nodes
   memberTypes   accepts   selfs   type_visitors   declaratorss
   declarator(   s   selfs   nodes
   declarator(    (    s   ./cxx/support.pys   visitMemberw s     	c    s_     t  i |  o  d  Sn  d t  | < x' | i   D ] }  | i |   q> Wd  S(   Ni   (   s   seens   has_keys   nodes   memberss   members   accepts   self(   s   selfs   nodes   member(    (    s   ./cxx/support.pys   visitStruct s     	c    s_     t  i |  o  d  Sn  d t  | < x' | i   D ] }  | i |   q> Wd  S(   Ni   (   s   seens   has_keys   nodes   memberss   members   accepts   self(   s   selfs   nodes   member(    (    s   ./cxx/support.pys   visitException s     	c    sa     t  i |  o  d  Sn  d t  | < | i   i |  i   | i   i |   d  S(   Ni   (   s   seens   has_keys   nodes   caseTypes   accepts   selfs   type_visitors
   declarator(   s   selfs   node(    (    s   ./cxx/support.pys   visitUnionCase s
    c    sx     t  i |  o  d  Sn  d t  | < | i   i |  i   x' | i   D ] }  | i |   qW Wd  S(   Ni   (	   s   seens   has_keys   nodes
   switchTypes   accepts   selfs   type_visitors   casess   case(   s   selfs   nodes   case(    (    s   ./cxx/support.pys
   visitUnion s     	c    s     d  Sd  S(   N(    (   s   selfs   node(    (    s   ./cxx/support.pys	   visitEnum s    c    s      | i   i |  i  d  S(   N(   s   nodes   attrTypes   accepts   selfs   type_visitor(   s   selfs   node(    (    s   ./cxx/support.pys   visitAttribute s   c    s      | i   i |  i  d  S(   N(   s   nodes	   paramTypes   accepts   selfs   type_visitor(   s   selfs   node(    (    s   ./cxx/support.pys   visitParameter s   c    sz     | i   i |  i   x' | i   D ] }  | i |   q, W x' | i   D ] }  | i |   qY Wd  S(   N(	   s   nodes
   returnTypes   accepts   selfs   type_visitors
   parameterss	   parameters   raisess	   exception(   s   selfs   nodes	   parameters	   exception(    (    s   ./cxx/support.pys   visitOperation s    	 	c    s     t  d  d  S(   Ns   native(   s   unsupportedIDL(   s   selfs   node(    (    s   ./cxx/support.pys   visitNative s   c    s     t  d  d  S(   Ns
   valuetypes(   s   unsupportedIDL(   s   selfs   node(    (    s   ./cxx/support.pys   visitStateMember s   c    s     t  d  d  S(   Ns
   valuetypes(   s   unsupportedIDL(   s   selfs   node(    (    s   ./cxx/support.pys   visitFactory s   c    s     t  d  d  S(   Ns
   valuetypes(   s   unsupportedIDL(   s   selfs   node(    (    s   ./cxx/support.pys   visitValueForward s   c    s     t  d  d  S(   Ns
   valuetypes(   s   unsupportedIDL(   s   selfs   node(    (    s   ./cxx/support.pys   visitValueBox s   c    s     t  d  d  S(   Ns
   valuetypes(   s   unsupportedIDL(   s   selfs   node(    (    s   ./cxx/support.pys   visitValueAbs s   c    s     t  d  d  S(   Ns
   valuetypes(   s   unsupportedIDL(   s   selfs   node(    (    s   ./cxx/support.pys
   visitValue s   (   s   __init__s   visitASTs   visitModules   visitInterfaces   visitForwards
   visitConsts   visitDeclarators   visitTypedefs   visitMembers   visitStructs   visitExceptions   visitUnionCases
   visitUnions	   visitEnums   visitAttributes   visitParameters   visitOperations   visitNatives   visitStateMembers   visitFactorys   visitValueForwards   visitValueBoxs   visitValueAbss
   visitValue(    (    (    s   ./cxx/support.pys   SupportedASTVisitorA s0   
			
s   SupportedTypeVisitorc      se     d   Z   d   Z  d   Z  d   Z  d   Z  d   Z  d   Z  d   Z RS(	   Nc    s
     d  S(   N(    (   s   self(    (    s   ./cxx/support.pys   __init__ s   c    s     | |  _ d  S(   N(   s   visitors   selfs   ast_visitor(   s   selfs   visitor(    (    s   ./cxx/support.pys   setASTVisitor s   c    sw     h  d t  i <d t  i <d t  i <d t  i <}  | i   | i   j o  t	 | | i    n d  S(   Ns   nulls   CORBA::Principals   long doubles   wchar(
   s   idltypes   tk_nulls   tk_Principals   tk_longdoubles   tk_wchars   not_supporteds   types   kinds   keyss   unsupportedType(   s   selfs   types   not_supported(    (    s   ./cxx/support.pys   visitBaseType s   9c    s     d  Sd  S(   N(    (   s   selfs   type(    (    s   ./cxx/support.pys   visitStringType s   c    s     t  d  d  S(   Ns   wide strings(   s   unsupportedType(   s   selfs   type(    (    s   ./cxx/support.pys   visitWStringType s   c    s     | i   i |   d  S(   N(   s   types   seqTypes   accepts   self(   s   selfs   type(    (    s   ./cxx/support.pys   visitSequenceType s   c    s     t  d  d  S(   Ns   fixed(   s   unsupportedType(   s   selfs   type(    (    s   ./cxx/support.pys   visitFixedType s   c    s      | i   i |  i  d  S(   N(   s   types   decls   accepts   selfs   ast_visitor(   s   selfs   type(    (    s   ./cxx/support.pys   visitDeclaredType s   (   s   __init__s   setASTVisitors   visitBaseTypes   visitStringTypes   visitWStringTypes   visitSequenceTypes   visitFixedTypes   visitDeclaredType(    (    (    s   ./cxx/support.pys   SupportedTypeVisitor s   
N(   s   omniidls   idlasts   idltypes
   idlvisitors   omniidl_be.cxxs   utils   checkIDLs
   error_bodys   unsupportedIDLs   unsupportedTypes   seens
   AstVisitors   SupportedASTVisitors   TypeVisitors   SupportedTypeVisitor(   s   unsupportedIDLs
   error_bodys   SupportedTypeVisitors
   idlvisitors   utils   checkIDLs   unsupportedTypes   SupportedASTVisitors   seens   idlasts   idltype(    (    s   ./cxx/support.pys   ? s   
			