com.ibm.wala.cast.js.html.IncludedPosition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.ibm.wala.cast.js Show documentation
Show all versions of com.ibm.wala.cast.js Show documentation
T. J. Watson Libraries for Analysis
/*
* Copyright (c) 2002 - 2011 IBM Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*/
package com.ibm.wala.cast.js.html;
import com.ibm.wala.cast.tree.CAstSourcePositionMap.Position;
/**
* A {@link Position} for source code that has been included in some enclosing file, e.g.,
* JavaScript code included in an HTML file via a script node.
*/
public interface IncludedPosition extends Position {
/**
* get the position of the containing script within the enclosing file. E.g., for a position in
* JavaScript code included in an HTML file, returns the position of the relevant {@code