| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.openorb.compiler.parser.IdlGrammar
Cette classe represente la grammaire IDL
| Field Summary | |
|  IdlParser | parserPermet d'acceder au parser pour parcourir le fichier IDL | 
| Constructor Summary | |
| IdlGrammar(IdlParser p)Construit une nouvelle class pour la gestion de la grammaire IDL | |
| Method Summary | |
|  void | addNativeMap(IdlObject current)Respond to #pragma javaNativeMap | 
|  void | attr_dcl(IdlObject obj)(70) Analyse la definition d'un attribut | 
|  void | changeId(IdlObject current)Change l'ID d'un objet CORBA | 
|  void | changePackage()Change le prefixe des IDs des objets CORBA | 
|  void | changePrefix()Change le prefixe des IDs des objets CORBA | 
|  void | changeVersion(IdlObject current)Change la version d'un ID d'un objet CORBA | 
|  boolean | checkPrefix(java.lang.String pref)Check the pragma prefix string. | 
|  void | const_dcl(IdlObject obj)(12) Analyse la definition d'une constante | 
|  long | const_exp(StringContainer str,
          IdlObject obj,
          DoubleContainer fv)(14) Analyse une expression constante | 
|  void | const_type(IdlObject obj)(13) Analyse un type de constante | 
|  void | constr_type_spec(IdlObject obj)(33) Ananlyse un type de donnee construit | 
|  void | context_expr(IdlOp obj)(79) Analyse l'expression "context" d'une operation | 
|  void | convertToDecimal()Cette fonction convertie un nombre hexadecimal en nombre decimal Le nombre est stocke dans ctx.value sous forme d'une chaine. | 
|  void | declarators(IdlObject obj)(34) Analyse une declaration de membre | 
|  void | echo()Change le prefixe des IDs des objets CORBA | 
|  void | enum_dcl(IdlObject obj)(63) Analyse une enumeration | 
|  void | except_dcl(IdlObject obj)(71) Analyse la definition d'une exception | 
|  void | export_dcl(IdlObject obj)(9) Analyse les membres d'une interface | 
|  IdlObject | final_type(IdlObject obj)Returns the final definition of a data type | 
|  void | fixed_const_dcl(IdlObject obj)(82) Analyse la definition d'un type fixed constant | 
|  void | fixed_dcl(IdlObject obj)(82) Analyse la definition d'un type fixed | 
|  void | forward_dcl(IdlInterface obj)(6) Analyse une definition forward d'une interface | 
|  void | full_value_dcl(IdlObject obj) | 
|  java.lang.String | fullname(IdlObject obj)Retourne le nom complet d'un objet CORBA | 
|  int | hexaToDec(char hexa)Cette fonction retourne la valeur decimale d'un symbole hexadecimal | 
|  void | idl_definition(IdlObject obj)(1) Analyse une definition IDL | 
|  void | idl_specification(IdlObject obj)Premiere regle de la grammaire | 
|  void | import_dcl(IdlObject obj)Include external description | 
|  void | inheritance_spec(IdlInterface obj)(10) Analyse les declarations d'heritages d'une interface | 
|  void | init_dcl(IdlObject obj) | 
|  void | init_param_decls(IdlObject obj) | 
|  void | interface_body(IdlInterface obj)(8) Analyse le corps d'une interface | 
|  void | interface_dcl(IdlInterface obj)(5) Analyse la declaration d'une interface | 
|  void | interface_type(IdlObject obj)(4) Analyse la definition d'une interface | 
|  java.lang.String | inversedPrefix(java.lang.String prefix)Inverse l'ordre d'un prefixe : omg.org -> org.omg | 
|  void | member_list(IdlObject obj)(55) Analyse les membres d'une structure | 
|  void | member(IdlObject obj,
       java.util.Hashtable list)(56) Analyse un membre d'une structure | 
|  void | module_dcl(IdlObject obj)(3) Analyse un module | 
|  void | native_dcl(IdlObject obj)Analyse la definition d'un type natif | 
|  void | op_dcl(IdlObject obj)(72) Analyse la definition d'une operation | 
|  void | op_type_spec(IdlOp obj)(74) Analyse le type de retour d'une operation | 
|  void | param_attribute(IdlParam obj)(77) Analyse l'attribut d'un parametre | 
|  void | param_dcl(IdlOp obj)(76) Analyse la definition d'un parametre d'une operation | 
|  void | param_type_spec(IdlObject obj)(80) Analyse le type d'un parametre | 
|  void | parameter_dcls(IdlOp obj)(75) Analyse les parametres d'une operation | 
|  int | positive_int_const(IdlObject obj)(26) Analyse une expression entiere constante | 
|  void | pragma_dcl(IdlObject obj)Analyse les clauses pragma | 
|  long | primary_exp(StringContainer str,
            IdlObject obj,
            DoubleContainer fv)(23) Analyse une expression constante | 
|  void | raises_expr(IdlObject obj)(78) Analyse l'expression "raises" d'une operation | 
|  java.lang.String | scoped_name()(11) Analyse un nom eventuellement compose | 
|  void | sequence_dcl(IdlObject obj)(65) Analyse la definition d'une sequence | 
|  void | simple_type_spec(IdlObject obj)(30) Analyse un type de donnee simple | 
|  void | state_member_dcl(IdlObject obj) | 
|  void | string_dcl(IdlObject obj)(66) Analyse la definition d'une chaine de caracteres | 
|  void | struct_dcl(IdlObject obj)(54) Analyse la definition d'une structure | 
|  void | switch_body(IdlObject obj)(59) Analyse le contenu d'une union | 
|  int | switch_case(IdlObject obj,
            BooleanContainer asNext,
            java.util.Hashtable list)(60) Analyse un des cas d'une union | 
|  void | switch_type_spec(IdlObject obj)(58) Analyse un type de donnee de discriminant d'union | 
|  void | type_dcl(IdlObject obj)(27) Analyse la definition d'un nouveau type de donnee | 
|  void | type_id_dcl(IdlObject obj)Set a repository ID | 
|  void | type_prefix_dcl(IdlObject obj)Set repository IDs prefix | 
|  void | type_spec(IdlObject obj)(29) Ananlyse un type de donnee | 
|  long | unary_exp(StringContainer str,
          IdlObject obj,
          DoubleContainer fv)(22) Ananlyse une expression constante | 
|  void | union_dcl(IdlObject obj)(57) Analyse la definition d'une union | 
|  void | value_abs_dcl(IdlObject obj,
              java.lang.String name) | 
|  void | value_box_dcl(IdlObject obj,
              java.lang.String name) | 
|  void | value_dcl(IdlObject obj,
          java.lang.String name,
          boolean custom) | 
|  void | value_forward_dcl(IdlObject obj,
                  java.lang.String name,
                  boolean abstract_value) | 
|  void | value_inheritance_spec(IdlObject obj,
                       boolean custom,
                       boolean statefull) | 
|  void | value_inheritance(IdlObject obj,
                  boolean custom,
                  boolean statefull) | 
|  void | wstring_dcl(IdlObject obj)(67) Analyse la definition d'une chaine de caracteres larges | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public IdlParser parser
| Constructor Detail | 
public IdlGrammar(IdlParser p)
| Method Detail | 
public int hexaToDec(char hexa)
hexa - le symbole hexadecimalpublic void convertToDecimal()
public java.lang.String inversedPrefix(java.lang.String prefix)
prefix - le prefixe a inverserpublic java.lang.String fullname(IdlObject obj)
obj - l'objet dont on doit trouver le nom completpublic java.lang.String scoped_name()
public long primary_exp(StringContainer str,
                        IdlObject obj,
                        DoubleContainer fv)
public long unary_exp(StringContainer str,
                      IdlObject obj,
                      DoubleContainer fv)
public long const_exp(StringContainer str,
                      IdlObject obj,
                      DoubleContainer fv)
public int positive_int_const(IdlObject obj)
public void fixed_dcl(IdlObject obj)
public void fixed_const_dcl(IdlObject obj)
public void wstring_dcl(IdlObject obj)
public void string_dcl(IdlObject obj)
public void sequence_dcl(IdlObject obj)
public void const_type(IdlObject obj)
public void const_dcl(IdlObject obj)
public void constr_type_spec(IdlObject obj)
public void simple_type_spec(IdlObject obj)
public void type_spec(IdlObject obj)
public void declarators(IdlObject obj)
public void member(IdlObject obj,
                   java.util.Hashtable list)
public void member_list(IdlObject obj)
public void struct_dcl(IdlObject obj)
public void switch_type_spec(IdlObject obj)
public int switch_case(IdlObject obj,
                       BooleanContainer asNext,
                       java.util.Hashtable list)
public void switch_body(IdlObject obj)
public void union_dcl(IdlObject obj)
public void enum_dcl(IdlObject obj)
public void type_dcl(IdlObject obj)
public void except_dcl(IdlObject obj)
public void module_dcl(IdlObject obj)
public IdlObject final_type(IdlObject obj)
obj - the objectpublic void param_type_spec(IdlObject obj)
public void attr_dcl(IdlObject obj)
public void op_type_spec(IdlOp obj)
public void param_attribute(IdlParam obj)
public void param_dcl(IdlOp obj)
public void parameter_dcls(IdlOp obj)
public void raises_expr(IdlObject obj)
public void context_expr(IdlOp obj)
public void op_dcl(IdlObject obj)
public void export_dcl(IdlObject obj)
public void interface_body(IdlInterface obj)
public void inheritance_spec(IdlInterface obj)
public void interface_dcl(IdlInterface obj)
public void forward_dcl(IdlInterface obj)
public void interface_type(IdlObject obj)
public void native_dcl(IdlObject obj)
public void value_forward_dcl(IdlObject obj,
                              java.lang.String name,
                              boolean abstract_value)
public void value_box_dcl(IdlObject obj,
                          java.lang.String name)
public void value_inheritance(IdlObject obj,
                              boolean custom,
                              boolean statefull)
public void value_inheritance_spec(IdlObject obj,
                                   boolean custom,
                                   boolean statefull)
public void value_abs_dcl(IdlObject obj,
                          java.lang.String name)
public void state_member_dcl(IdlObject obj)
public void init_param_decls(IdlObject obj)
public void init_dcl(IdlObject obj)
public void value_dcl(IdlObject obj,
                      java.lang.String name,
                      boolean custom)
public void full_value_dcl(IdlObject obj)
public void changeId(IdlObject current)
public void changeVersion(IdlObject current)
public void changePrefix()
public boolean checkPrefix(java.lang.String pref)
public void echo()
public void changePackage()
public void addNativeMap(IdlObject current)
public void pragma_dcl(IdlObject obj)
public void type_id_dcl(IdlObject obj)
public void type_prefix_dcl(IdlObject obj)
public void idl_definition(IdlObject obj)
public void import_dcl(IdlObject obj)
public void idl_specification(IdlObject obj)
obj - objet a partir duquel la compilation s'effectue| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||