
com.greenpepper.shaded.antlr.ASdebug.IASDebugStream Maven / Gradle / Ivy
package antlr.ASdebug;
import antlr.Token;
/**
* Provides information used by the 'Input Text' view
* of Antlr Studio.
* @author Prashant Deva
*/
public interface IASDebugStream
{
/**
* Returns the entire text input to the lexer.
* @return The entire text or null
, if error occured or System.in was used.
*/
String getEntireText();
/**
* Returns the offset information for the token
* @param token the token whose information need to be retrieved
* @return offset info, or null
*/
TokenOffsetInfo getOffsetInfo(Token token);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy