[aXSL-commit] SF.net SVN: axsl:[3343] trunk/axsl/axsl-orthography/s rc/main/java/org/axsl/orthograp
An API for XSL-FO.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2026-07-30 13:26:34
|
Revision: 3343
http://sourceforge.net/p/axsl/code/3343
Author: victormote
Date: 2026-07-30 13:26:32 +0000 (Thu, 30 Jul 2026)
Log Message:
-----------
Make Lexer implement ListIterator instead of Iterator, to improve client code understanding of context.
Modified Paths:
--------------
trunk/axsl/axsl-orthography/src/main/java/org/axsl/orthography/Lexer.java
Modified: trunk/axsl/axsl-orthography/src/main/java/org/axsl/orthography/Lexer.java
===================================================================
--- trunk/axsl/axsl-orthography/src/main/java/org/axsl/orthography/Lexer.java 2026-07-29 22:56:24 UTC (rev 3342)
+++ trunk/axsl/axsl-orthography/src/main/java/org/axsl/orthography/Lexer.java 2026-07-30 13:26:32 UTC (rev 3343)
@@ -25,7 +25,7 @@
import org.axsl.i18n.WritingSystem;
-import java.util.Iterator;
+import java.util.ListIterator;
/**
* <p>Implementations know how to break a character sequence into words and interword content.</p>
@@ -50,7 +50,7 @@
* Downstream processes may need to consult a dictionary to resolve whether such items are part of a word or are
* interword content.</p>
*/
-public interface Lexer extends Iterator<Lexer.Token> {
+public interface Lexer extends ListIterator<Lexer.Token> {
/**
* <p>Enumeration of valid token types that can be returned by this Lexer.</p>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|