Package src :: Package com :: Package deviceatlas :: Package device :: Module lookarround_constraint :: Class LookAroundConstraint
[frames] | no frames]

Class LookAroundConstraint

Defines a lookaround constraint. This is a constraint that may be applied to a component found via the token trie walk. The constraint contains an component index and an allowed offset that it can exist for the constraint to be valid

@author DeviceAtlas Limited

Instance Methods
 
__init__(self, to_find_component_index, min_offset, max_offset)
 
is_valid(self, token_position_found, all_candidates)