Examples of BlockStatement


Examples of org.lilystudio.smarty4j.statement.BlockStatement

  public void addStatement(IStatement statement) throws ParseException {
    if (statement instanceof $sectionelse) {
      if (elseBlock != null) {
        throw new ParseException("不能重复定义sectionelse");
      } else {
        elseBlock = new BlockStatement();
        elseBlock.setParent(this.getParent());
      }
    } else if (elseBlock != null) {
      elseBlock.addStatement(statement);
    } else {
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.