Package railo.transformer.bytecode.expression

Examples of railo.transformer.bytecode.expression.Expression.writeOut()


        if(defaultValue!=null) {
          /*if(defaultValue instanceof Null) {
            adapter.invokeStatic(NULL, GET_INSTANCE);
          }
          else*/
          defaultValue.writeOut(bc, Expression.MODE_REF);
        }
        else
          adapter.loadArg(DEFAULT_VALUE);
          //adapter.visitInsn(Opcodes.ACONST_NULL);
        adapter.returnValue();
View Full Code Here


       
        ExpressionUtil.visitLine(bc, tag.getStart());
       
        // if(pe.typeEqual(@type)
        adapter.loadLocal(pe);
        type.writeOut(bc, Expression.MODE_REF);
        adapter.invokeVirtual(Types.PAGE_EXCEPTION, TYPE_EQUAL);
       
        adapter.ifZCmp(Opcodes.IFEQ, endIf);
          catchBody(bc,adapter,tag,pe,true,true);
         
View Full Code Here

   
    // Query query=pc.getQuery(@query);
    tag.setQuery(adapter.newLocal(Types.QUERY));
    adapter.loadArg(0);
    Expression val = tag.getAttribute("query").getValue();
    val.writeOut(bc, Expression.MODE_REF);
    if(val instanceof LitString)
      adapter.invokeVirtual(Types.PAGE_CONTEXT, TagLoop.GET_QUERY_STRING);
    else
      adapter.invokeVirtual(Types.PAGE_CONTEXT, TagLoop.GET_QUERY_OBJ);
   
View Full Code Here

          bc.getAdapter().push(_type);
        }
        // required
        if(functionIndex>=INIT_FAI_KEY.length-6)_req.writeOut(bc, Expression.MODE_VALUE);
        // default value
        if(functionIndex>=INIT_FAI_KEY.length-5)_def.writeOut(bc, Expression.MODE_VALUE);
        // pass by reference
        if(functionIndex>=INIT_FAI_KEY.length-4)_pass.writeOut(bc, Expression.MODE_VALUE);
        // display-name
        if(functionIndex>=INIT_FAI_KEY.length-3)_dsp.writeOut(bc, Expression.MODE_REF);
        // hint
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.