Package httl.ast

Examples of httl.ast.ElseDirective


          }
          directives.add(new ForDirective(parseGenericType(type, exprOffset), var, expression, offset));
        } else if (StringUtils.inArray(name, ifDirective)) {
          directives.add(new IfDirective((Expression) expressionParser.parse(value, exprOffset), offset));
        } else if (StringUtils.inArray(name, elseDirective)) {
          directives.add(new ElseDirective(StringUtils.isEmpty(value)
              ? null : (Expression) expressionParser.parse(value, exprOffset), offset));
        } else if (StringUtils.inArray(name, breakDirective)) {
          directives.add(new BreakDirective(StringUtils.isBlank(value) ? null : (Expression) expressionParser.parse(value, exprOffset), offset));
        } else if (StringUtils.inArray(name, macroDirective)) {
          String macroName = value;
View Full Code Here

TOP

Related Classes of httl.ast.ElseDirective

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.