Package antlr.ASdebug

Class TokenOffsetInfo


  • public class TokenOffsetInfo
    extends java.lang.Object
    Provides offset info for a token.
    All offsets are 0-based.
    Author:
    Prashant Deva
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int beginOffset  
      int length  
    • Constructor Summary

      Constructors 
      Constructor Description
      TokenOffsetInfo​(int offset, int length)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getEndOffset()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • beginOffset

        public final int beginOffset
      • length

        public final int length
    • Constructor Detail

      • TokenOffsetInfo

        public TokenOffsetInfo​(int offset,
                               int length)
    • Method Detail

      • getEndOffset

        public int getEndOffset()