Scanner.st
changeset 3334 900fb0ffd825
parent 3327 9c7c99e0280e
child 3335 ee38f5eb4360
equal deleted inserted replaced
3333:fb37a7b53ed6 3334:900fb0ffd825
   804     ^ source
   804     ^ source
   805 
   805 
   806     "Created: 20.4.1996 / 19:59:58 / cg"
   806     "Created: 20.4.1996 / 19:59:58 / cg"
   807 !
   807 !
   808 
   808 
       
   809 tokenEndPosition
       
   810     ^ tokenPosition + tokenValue size - 1.
       
   811 
       
   812     "Created: / 22-10-2013 / 00:30:02 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   813 !
       
   814 
   809 tokenLineNr
   815 tokenLineNr
   810     ^ tokenLineNr
   816     ^ tokenLineNr
   811 !
   817 !
   812 
   818 
   813 tokenName
   819 tokenName
   814     ^ tokenName
   820     ^ tokenName
   815 !
   821 !
   816 
   822 
   817 tokenPosition
   823 tokenPosition
   818     ^ tokenPosition
   824     ^ tokenPosition
       
   825 !
       
   826 
       
   827 tokenStartPosition
       
   828     ^ tokenPosition
       
   829 
       
   830     "Created: / 22-10-2013 / 00:29:44 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   819 !
   831 !
   820 
   832 
   821 tokenType
   833 tokenType
   822     ^ tokenType
   834     ^ tokenType
   823 !
   835 !
  3644 ! !
  3656 ! !
  3645 
  3657 
  3646 !Scanner class methodsFor:'documentation'!
  3658 !Scanner class methodsFor:'documentation'!
  3647 
  3659 
  3648 version
  3660 version
  3649     ^ '$Header: /cvs/stx/stx/libcomp/Scanner.st,v 1.305 2013-09-24 20:01:42 cg Exp $'
  3661     ^ '$Header: /cvs/stx/stx/libcomp/Scanner.st,v 1.306 2013-10-21 23:30:33 vrany Exp $'
  3650 !
  3662 !
  3651 
  3663 
  3652 version_CVS
  3664 version_CVS
  3653     ^ '$Header: /cvs/stx/stx/libcomp/Scanner.st,v 1.305 2013-09-24 20:01:42 cg Exp $'
  3665     ^ '$Header: /cvs/stx/stx/libcomp/Scanner.st,v 1.306 2013-10-21 23:30:33 vrany Exp $'
  3654 ! !
  3666 ! !
  3655 
  3667 
  3656 
  3668 
  3657 Scanner initialize!
  3669 Scanner initialize!