Package cn.bran.japid.compiler.Tag

Examples of cn.bran.japid.compiler.Tag.TagInTag


      this.getTemplateClassMetaData().addCallTagBodyInnerClass(tag.tagName, tag.tagIndex, null, null);
      // the calling statement has been added in the regularTagInvoke()
      // method
    }
    // is inside of a tag of own scope and retract the tag inner body class
    TagInTag def = getTagInTag();
    if (def != null) {
      this.getTemplateClassMetaData().removeLastCallTagBodyInnerClass();
    }
  }
View Full Code Here


  /**
   * @param tag
   */
  protected void pushToStack(Tag tag) {
    // if calling inside a TagInTag tag, put it in the scope
    TagInTag tagtagf = getTagInTag();
    if (tagtagf != null) {
      if (tag instanceof TagInTag) {
        throw new JapidCompilationException(template, tag.startLine, "Syntax error: def/set tag cannot be nested in another def/set tag.");
      }

View Full Code Here

      this.getTemplateClassMetaData().addCallTagBodyInnerClass(tag.tagName, tag.tagIndex, null, null);
      // the calling statement has been added in the regularTagInvoke()
      // method
    }
    // is inside of a tag of own scope and retract the tag inner body class
    TagInTag def = getTagInTag();
    if (def != null) {
      this.getTemplateClassMetaData().removeLastCallTagBodyInnerClass();
    }
  }
View Full Code Here

  /**
   * @param tag
   */
  protected void pushToStack(Tag tag) {
    // if calling inside a TagInTag tag, put it in the scope
    TagInTag tagtagf = getTagInTag();
    if (tagtagf != null) {
      if (tag instanceof TagInTag) {
        throw new JapidCompilationException(template, tag.startLine, "Syntax error: def/set tag cannot be nested in another def/set tag.");
      }
     
View Full Code Here

TOP

Related Classes of cn.bran.japid.compiler.Tag.TagInTag

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.