antlr.ASdebug
Interface IASDebugStream
- TokenStreamBasicFilter, TokenStreamHiddenTokenFilter, TokenStreamRewriteEngine, TokenStreamSelector
public interface IASDebugStream
Provides information used by the 'Input Text' view
of Antlr Studio.
getEntireText
public String getEntireText()
Returns the entire text input to the lexer.
- The entire text or
null
, if error occured or System.in was used.
getOffsetInfo
public TokenOffsetInfo getOffsetInfo(Token token)
Returns the offset information for the token
token
- the token whose information need to be retrieved