1 22 23 28 package org.xquark.xquery.parser; 29 30 import org.xquark.xquery.typing.TypeException; 31 32 public class ComputedText extends XQueryUnaryOperatorExpression implements Cloneable { 33 private static final String RCSRevision = "$Revision: 1.5 $"; 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 ComputedText(XQueryExpression text, XQueryModule parentModule) throws TypeException, XQueryException { 49 super(text); 50 setParentModule(parentModule); 51 if (parentModule != null && parentModule.getStaticContext().getTypeVisitor() != null) 52 accept(parentModule.getStaticContext().getTypeVisitor()); 53 } 54 55 59 public XQueryExpression getComment() { 60 return expression; 61 } 62 63 } 64 | Popular Tags |