-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
undo experimental changes in ISourceLocation
- Loading branch information
1 parent
654939b
commit f8363ca
Showing
2 changed files
with
4 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2007 IBM Corporation, 2023 NWO-I Centrum Wiskunde & Informatica | ||
* Copyright (c) 2007 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: | ||
* Robert Fuhrer ([email protected]) - initial API and implementation | ||
* Jurgen Vinju ([email protected]) - extensions and maintenance | ||
*******************************************************************************/ | ||
|
||
package io.usethesource.vallang; | ||
|
@@ -134,30 +134,6 @@ public interface ISourceLocation extends IValue { | |
* @return the source location without any offset & length information. | ||
*/ | ||
public ISourceLocation top(); | ||
|
||
public String getFileName(); | ||
|
||
public boolean hasFileName(); | ||
|
||
public ISourceLocation changeScheme(String newScheme); | ||
|
||
public ISourceLocation changeAuthority(String newAuthority); | ||
|
||
public ISourceLocation changePath(String newPath); | ||
|
||
public ISourceLocation changeFile(String newFile); | ||
|
||
public ISourceLocation changeExtension(String newExtension); | ||
|
||
public ISourceLocation changeFragment(String newFragment); | ||
|
||
public ISourceLocation changeQuery(String newQuery); | ||
|
||
public ISourceLocation changeFileName(String newFileName); | ||
|
||
public ISourceLocation makeChildLocation(String childPath); | ||
|
||
public ISourceLocation getParentLocation(); | ||
|
||
@Override | ||
default <T, E extends Throwable> T accept(IValueVisitor<T, E> v) throws E { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters