Home | History | Annotate | Download | only in templates

Lines Matching defs:elem

308   		ElemTemplateElement elem = 
310 elems[i] = elem;
311 int numAncestors = countAncestors(elem);
398 * @param elem An representation of an element in an XSLT stylesheet.
399 * @return The number of ancestors of elem (including the element itself).
401 protected int countAncestors(ElemTemplateElement elem)
404 while(null != elem)
407 elem = elem.getParentElem();
446 { ElemTemplateElement elem = getElemFromExpression(wi);
447 StylesheetRoot root = elem.getStylesheetRoot();
981 * @param elem Should be non-null template element.
985 protected ElemVariable getPrevVariableElem(ElemTemplateElement elem)
989 while(null != (elem = getPrevElementWithinContext(elem)))
991 int type = elem.getXSLToken();
996 return (ElemVariable)elem;
1006 * @param elem Should be non-null template element.
1010 protected ElemTemplateElement getPrevElementWithinContext(ElemTemplateElement elem)
1012 ElemTemplateElement prev = elem.getPreviousSiblingElem();
1014 prev = elem.getParentElem();
1140 * @param elem The xsl instruction element object.
1143 public boolean visitTopLevelInstruction(ElemTemplateElement elem)
1145 int type = elem.getXSLToken();
1149 return visitInstruction(elem);
1160 * @param elem The xsl instruction element object.
1163 public boolean visitInstruction(ElemTemplateElement elem)
1165 int type = elem.getXSLToken();
1176 ElemForEach efe = (ElemForEach) elem;
1188 elem.callChildVisitors(this, false);
1189 eleminateRedundentLocals(elem);
1202 elem.callChildVisitors(this);