Package railo.transformer.bytecode.statement.tag

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



public final class While extends EvaluatorSupport {
  @Override
  public void evaluate(Tag tag,TagLibTag tagLibTag,FunctionLib[] flibs) throws EvaluatorException {
    TagWhile whil=(TagWhile) tag;
   
    // label
    if(ASMUtil.isLiteralAttribute(tag, "label", ASMUtil.TYPE_STRING, false, true)) {
      LitString ls=(LitString) CastString.toExprString(tag.getAttribute("label").getValue());
      String l = ls.getString();
      if(!StringUtil.isEmpty(l,true)) {
        whil.setLabel(l.trim());
        tag.removeAttribute("label");
      }
    }
  }
View Full Code Here

TOP

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

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.