Package railo.transformer.bytecode.visitor

Examples of railo.transformer.bytecode.visitor.DecisionObjectVisitor


    tfv.visitTryBegin(bc);
    //tcfv.visitTryBegin(bc);
      // while((line=br.readLine())!=null) {
      //WhileVisitor wv=new WhileVisitor();
      whileVisitor.visitBeforeExpression(bc);
        DecisionObjectVisitor dv=new DecisionObjectVisitor();
        dv.visitBegin();
          if(attr!=null) {
            // IOUtil.read(bufferedreader,12)
            adapter.loadLocal(br);
            adapter.loadLocal(carr);
            adapter.arrayLength();
            adapter.invokeStatic(Types.IOUTIL, READ);
          }
          else {
            // br.readLine()
            adapter.loadLocal(br);
            adapter.invokeVirtual(Types.BUFFERED_READER, READ_LINE);
          }
          adapter.dup();
          adapter.storeLocal(line);
         
        dv.visitNEQ();
          adapter.visitInsn(Opcodes.ACONST_NULL);
        dv.visitEnd(bc);
       
      whileVisitor.visitAfterExpressionBeforeBody(bc);
        //if(++count < startLine) continue;
        DecisionIntVisitor dv2=new DecisionIntVisitor();
        dv2.visitBegin();
View Full Code Here

TOP

Related Classes of railo.transformer.bytecode.visitor.DecisionObjectVisitor

Copyright © 2018 www.massapicom. 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.