# - - - S c a n . i s P o s
def isPos ( self, p ):
'''Is the current line at position p?
'''
See Section 30, “Scan.__effPos(): Calculate an effective
position” for the routine that converts
negative positions to positive values.
#-- 1 --
# [ newP := effective-pos(p) ]
newP = self.__effPos ( p )
#-- 2 --
return (self.pos == newP)