View Javadoc

    1   package net.sourceforge.pmd.lang.ecmascript.ast;
    2
    3   import org.mozilla.javascript.ast.XmlExpression;
    4
    5   public class ASTXmlExpression extends AbstractEcmascriptNode<XmlExpression> {
    6       public ASTXmlExpression(XmlExpression xmlExpression) {
    7   	super(xmlExpression);
    8       }
    9
    10      /**
    11       * Accept the visitor.
    12       */
    13      public Object jjtAccept(EcmascriptParserVisitor visitor, Object data) {
    14  	return visitor.visit(this, data);
    15      }
    16
    17      public EcmascriptNode getExpression() {
    18  	return (EcmascriptNode) jjtGetChild(0);
    19      }
    20
    21      public boolean isXmlAttribute() {
    22  	return node.isXmlAttribute();
    23      }
    24  }