Package railo.transformer.bytecode.expression

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


        // 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
        if(functionIndex>=INIT_FAI_KEY.length-2)_hint.writeOut(bc, Expression.MODE_REF);
        //meta
View Full Code Here


    // run Once
    Attribute attr = getAttribute("runonce");
    ExprBoolean expr = (attr==null)?
        LitBoolean.FALSE:
        CastBoolean.toExprBoolean(attr.getValue());
    expr.writeOut(bc, Expression.MODE_VALUE);
   
    adapter.invokeVirtual(Types.PAGE_CONTEXT,DO_INCLUDE_RUN_ONCE);
  }
}
View Full Code Here

    ExprBoolean cont = CastBoolean.toExprBoolean(tag.getAttribute("condition").getValue());
   
    Label endIf = new Label();
       
    ExpressionUtil.visitLine(bc, tag.getStart());
        cont.writeOut(bc,Expression.MODE_VALUE);
        adapter.ifZCmp(Opcodes.IFEQ, endIf);
        return endIf;
  }
  private static void writeOutElseIfEnd(GeneratorAdapter adapter, Label endIf, Label end) {
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.