

---------------------------------------------------------------
pruebas/java/Main.java
---------------------------------------------------------------

     1	public class /Main{
     2	
     3	    /**********/
     4	    /* object */
     5	    /**********/
     6	
     7	    static public class object_{
     8	        Object[] parents__;
     9	        Object   lexicalparent__;
    10	        Object[] lexicalsons__;
    11	        
    12	        boolean hasParent__(String parent){
    13	            for(int i=0;i<parents__.length;i++)
    14	                if (parents__[i].equals(parent)) return true;
    15	            return false;
    16	        }
    17	        
    18	        final public Object tostring_(){
    19	            return "(object)";
    20	        }
    21	    }
    22	
    23	
    24	    /********/
    25	    /* null */
    26	    /********/
    27	
    28	    static public class null_{
    29	        
    30	        final public Object tostring_(){
    31	            return "(null)";
    32	        }
    33	    }
    34	
    35	
    36	    /***********/
    37	    /* boolean */
    38	    /***********/
    39	
    40	    static public class boolean_{
    41	        boolean value__;
    42	        
    43	        boolean_(boolean x){
    44	                value__=x;
    45	            }
    46	        
    47	        final public Object tostring_(){
    48	            return this.value__==true?"true":"false";
    49	        }
    50	    }
    51	
    52	
    53	    /***********/
    54	    /* integer */
    55	    /***********/
    56	
    57	    static public class integer_{
    58	        int value__;
    59	        
    60	        integer_(int x){
    61	                value__=x;
    62	            }
    63	        
    64	        final public Object tostring_(){
    65	            
    66	        }
    67	    }
    68	
    69	
    70	    /*********/
    71	    /* float */
    72	    /*********/
    73	
    74	    static public class float_{
    75	        double value__;
    76	        
    77	        float_(double x){
    78	                value__=x;
    79	            }
    80	        
    81	        final public Object tostring_(){
    82	            
    83	        }
    84	    }
    85	
    86	
    87	    /**********/
    88	    /* string */
    89	    /**********/
    90	
    91	    static public class string_{
    92	        String value__;
    93	        
    94	        string_(String x){
    95	                value__=x;
    96	            }
    97	        
    98	        final public Object tostring_(){
    99	            
   100	        }
   101	    }
   102	
   103	
   104	    /*********/
   105	    /* array */
   106	    /*********/
   107	
   108	    static public class array_{
   109	        Object[] value__;
   110	        
   111	        array_(Object[] x){
   112	                value__=x;
   113	            }
   114	        
   115	        final public Object tostring_(){
   116	            
   117	        }
   118	    }
   119	
   120	
   121	    /**********/
   122	    /* system */
   123	    /**********/
   124	
   125	    static public class system_{
   126	        
   127	        final public Object print_(Object x_){
   128	            
   129	        }
   130	    }
   131	
   132	
   133	    /**********/
   134	    /* objeto */
   135	    /**********/
   136	
   137	    static public class objeto_{
   138	        public Object funcion_(Object x_){
   139	            return x_;
   140	        }
   141	
   142	        public Object funcion_(Object x_,Object y_){
   143	            return y_;
   144	        }
   145	
   146	        public Object funcion_(Object x_,Object y_,Object z_){
   147	            return z_;
   148	        }
   149	    }
   150	
   151	    public Object funcion_(Object x_){
   152	        return x_;
   153	    }
   154	
   155	    public Object funcion_(Object x_,Object y_){
   156	        return y_;
   157	    }
   158	
   159	    public Object funcion_(Object x_,Object y_,Object z_){
   160	        return z_;
   161	    }
   162	
   163	    public Object expresion10_(){
   164	        return new integer_(12345);
   165	    }
   166	
   167	    public Object expresion20_(){
   168	        return new boolean_(true);
   169	    }
   170	
   171	    public Object expresion30_(){
   172	        return null_;
   173	    }
   174	
   175	    public Object expresion40_(){
   176	        return new boolean_(false);
   177	    }
   178	
   179	    public Object expresion50_(){
   180	        return new float_(1.234500);
   181	    }
   182	
   183	    public Object expresion60_(){
   184	        return new Object[] {new integer_(1),new integer_(2),new integer_(3),new integer_(4),new integer_(5)};
   185	    }
   186	
   187	    public Object expresion70_(){
   188	        return ((new Object[] {new integer_(1),new integer_(2),new integer_(3),new integer_(4)}).operatorunion_(new Object[] {new integer_(5)})).operatorget_(new integer_(3));
   189	    }
   190	
   191	    public Object expresion75_(){
   192	        Object ret;
   193	        
   194	        new integer_(1);
   195	        new integer_(2);
   196	        ret=new integer_(3);
   197	        return ret;
   198	    }
   199	
   200	    public Object expresion80_(){
   201	        return expresion10_();
   202	    }
   203	
   204	    public Object expresion90_(){
   205	        return funcion_(expresion10_());
   206	    }
   207	
   208	    public Object expresion100_(){
   209	        return funcion_(expresion10_(),expresion20_());
   210	    }
   211	
   212	    public Object expresion110_(){
   213	        return funcion_(expresion10_(),expresion20_(),expresion30_());
   214	    }
   215	
   216	    public Object expresion120_(){
   217	        return (objeto_).funcion_(expresion10_());
   218	    }
   219	
   220	    public Object expresion130_(){
   221	        return (objeto_).funcion_(expresion10_(),expresion20_());
   222	    }
   223	
   224	    public Object expresion140_(){
   225	        return (objeto_).funcion_(expresion10_(),expresion20_(),expresion30_());
   226	    }
   227	
   228	    public Object expresion150_(){
   229	        return ((objeto_).funcion_(expresion10_())).tostring_();
   230	    }
   231	
   232	    public Object expresion160_(){
   233	        return ((objeto_).funcion_(expresion10_(),expresion20_())).tostring_();
   234	    }
   235	
   236	    public Object expresion170_(){
   237	        return ((objeto_).funcion_(expresion10_(),expresion20_(),expresion30_())).tostring_();
   238	    }
   239	
   240	    public Object expresion180_(){
   241	        Object ret;
   242	        
   243	        Object x_=expresion10_();
   244	        ret=x_;
   245	        return ret;
   246	    }
   247	
   248	    public Object expresion190_(){
   249	        Object ret;
   250	        Object par1;
   251	        
   252	        Object x_=expresion10_();
   253	        ret=x_;
   254	        par1=ret;
   255	        funcion_(par1);
   256	        return ret;
   257	    }
   258	
   259	    public Object expresion200_(){
   260	        Object ret;
   261	        Object par1,par2;
   262	        
   263	        Object x_=expresion10_();
   264	        ret=x_;
   265	        par1=ret;
   266	        Object x_=expresion20_();
   267	        ret=x_;
   268	        par2=ret;
   269	        funcion_(par1,par2);
   270	        return ret;
   271	    }
   272	
   273	    public Object expresion210_(){
   274	        Object ret;
   275	        Object par1;
   276	        
   277	        Object x_=expresion30_();
   278	        ret=expresion30_();
   279	        par1=ret;
   280	        funcion_(expresion10_(),expresion20_(),par1);
   281	        return ret;
   282	    }
   283	
   284	    public Object expresion220_(){
   285	        Object ret;
   286	        
   287	        (x_).operatorunion_(new Object[] {y_});
   288	        ret=x_;
   289	        return ret;
   290	    }
   291	
   292	    public Object expresion230_(){
   293	        return self_;
   294	    }
   295	
   296	    public Object expresion240_(){
   297	        return dummy_;
   298	    }
   299	
   300	    public Object expresion250_(){
   301	        return object_;
   302	    }
   303	
   304	    public Object expresion260_(){
   305	        return integer_;
   306	    }
   307	
   308	    public Object main_(){
   309	        Object ret;
   310	        
   311	        (system_).print_(expresion10_());
   312	        (system_).print_(expresion20_());
   313	        (system_).print_(expresion30_());
   314	        (system_).print_(expresion40_());
   315	        (system_).print_(expresion50_());
   316	        (system_).print_(expresion60_());
   317	        (system_).print_(expresion70_());
   318	        (system_).print_(expresion80_());
   319	        (system_).print_(expresion90_());
   320	        (system_).print_(expresion100_());
   321	        (system_).print_(expresion110_());
   322	        (system_).print_(expresion120_());
   323	        (system_).print_(expresion130_());
   324	        (system_).print_(expresion140_());
   325	        (system_).print_(expresion150_());
   326	        (system_).print_(expresion160_());
   327	        (system_).print_(expresion170_());
   328	        (system_).print_(expresion180_());
   329	        (system_).print_(expresion190_());
   330	        (system_).print_(expresion200_());
   331	        (system_).print_(expresion210_());
   332	        (system_).print_(expresion220_());
   333	        (system_).print_(expresion230_());
   334	        (system_).print_(expresion240_());
   335	        (system_).print_(expresion250_());
   336	        ret=(system_).print_(expresion260_());
   337	        return ret;
   338	    }
   339	    /********/
   340	    /* Main */
   341	    /********/
   342	
   343	    static public void Main(String args[]){
   344	        main_member();
   345	    }
   346	}

