Package org.fife.rsta.ac.java.rjc.lexer
Interface Offset
- All Known Implementing Classes:
CompilationUnit.ZeroOffset,Scanner.DocumentOffset
public interface Offset
An offset into Java source. This is an interface so we can wrap
javax.swing.text.Position instances when parsing code in a
JTextComponent, so these offsets can get tracked.- Version:
- 1.0
-
Method Summary
-
Method Details
-
getOffset
int getOffset()Returns the offset into the source.- Returns:
- The offset.
-