Package src :: Package com :: Package deviceatlas :: Package device :: Module position_constraint :: Class PositionConstraint
[frames] | no frames]

Class PositionConstraint

Defines a range of valid positions that a token can occur in.

@author DeviceAtlas Limited

Instance Methods
 
__init__(self, min_position, max_position)
 
is_valid_position(self, token_position)
Verify that the given token position is valid or not.
Method Details

is_valid_position(self, token_position)

 

Verify that the given token position is valid or not. :return: