You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IHasPosition.java 961B

1234567891011121314151617181920212223242526272829303132
  1. /* *******************************************************************
  2. * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
  3. * All rights reserved.
  4. * This program and the accompanying materials are made available
  5. * under the terms of the Eclipse Public License v 2.0
  6. * which accompanies this distribution and is available at
  7. * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
  8. *
  9. * Contributors:
  10. * PARC initial implementation
  11. * ******************************************************************/
  12. package org.aspectj.weaver;
  13. public interface IHasPosition {
  14. /**
  15. * The starting index of this location in the character stream.
  16. */
  17. int getStart();
  18. /**
  19. * The ending index of this location in the character stream
  20. *
  21. * This points to the last character in this token.
  22. *
  23. * If a location truly had no contents, then start == end + 1. We don't recommend this.
  24. */
  25. int getEnd();
  26. //
  27. // String getFileName();
  28. }