1 22 23 24 package org.xquark.xquery.parser; 25 26 import org.xquark.xquery.typing.TypeException; 27 28 29 31 public class RangeExpression extends XQueryListBinaryOperatorExpression implements Cloneable { 32 33 private static final String RCSRevision = "$Revision: 1.7 $"; 34 private static final String RCSName = "$Name: $"; 35 36 40 public void accept(ParserVisitor visitor) throws XQueryException { 41 visitor.visit(this); 42 } 43 44 48 public RangeExpression(XQueryExpression lowExpression, XQueryExpression upExpression, XQueryModule parentModule) throws TypeException, XQueryException { 49 super(lowExpression,upExpression); 50 setParentModule(parentModule); 52 if (parentModule != null && parentModule.getStaticContext().getTypeVisitor() != null) 53 accept(parentModule.getStaticContext().getTypeVisitor()); 54 } 55 56 } 57 58 59 60 | Popular Tags |