| 1 | /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- |
| 2 | * |
| 3 | * This Source Code Form is subject to the terms of the Mozilla Public |
| 4 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 5 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 6 | |
| 7 | package org.mozilla.javascript.ast; |
| 8 | |
| 9 | import org.mozilla.javascript.Token; |
| 10 | |
| 11 | /** |
| 12 | * Abstract base type for components that comprise an {@link XmlLiteral} |
| 13 | * object. Node type is {@link Token#XML}.<p> |
| 14 | */ |
| 15 | public abstract class XmlFragment extends AstNode { |
| 16 | |
| 17 | { |
| 18 | type = Token.XML; |
| 19 | } |
| 20 | |
| 21 | public XmlFragment() { |
| 22 | } |
| 23 | |
| 24 | public XmlFragment(int pos) { |
| 25 | super(pos); |
| 26 | } |
| 27 | |
| 28 | public XmlFragment(int pos, int len) { |
| 29 | super(pos, len); |
| 30 | } |
| 31 | } |