Package railo.transformer.bytecode.statement.tag

Examples of railo.transformer.bytecode.statement.tag.TagContinue


   
    // label
    String label=null;
    Attribute attrLabel = tag.getAttribute("label");
    if(attrLabel!=null){
      TagContinue tc=(TagContinue) tag;
      label=Break.variableToString(tag,attrLabel,null);
      if(label!=null){
        tc.setLabel(label=label.trim());
        tag.removeAttribute("label");
      }
      else if(ASMUtil.isLiteralAttribute(tag, attrLabel, ASMUtil.TYPE_STRING, false, true)) {
        LitString ls=(LitString) CastString.toExprString(tag.getAttribute("label").getValue());
        label = ls.getString();
        if(!StringUtil.isEmpty(label,true)) {
          tc.setLabel(label=label.trim());
          tag.removeAttribute("label");
        }
        else label=null;
      }
    }
   
    if(ASMUtil.isLiteralAttribute(tag, "label", ASMUtil.TYPE_STRING, false, true)) {
      LitString ls=(LitString) CastString.toExprString(tag.getAttribute("label").getValue());
      TagContinue tc=(TagContinue) tag;
      label = ls.getString();
      if(!StringUtil.isEmpty(label,true)) {
        tc.setLabel(label=label.trim());
        tag.removeAttribute("label");
      }
      else label=null;
    }
   
View Full Code Here

TOP

Related Classes of railo.transformer.bytecode.statement.tag.TagContinue

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.