This module defines path-constructor functions and containers for data.
Containers are later used for validation of the paths in other examples and for generator, which creates the parser.
Class used to store informations about neighbour calls, generated by _neighbour_to_path_call().
Name of the container for the data.
Parameters for the fontainer.
Parameters for the fuction which will find neighbour (see has_neigh()).
Container used to hold data, which will be used as parameter to call search functions in DOM.
Parameters: |
|
---|
Container to hold parameters of the chained calls.
Parameters: | chain (list) – List of PathCall classes. |
---|
Look for negihbours of the element, return proper PathCall.
Parameters: | element (obj) – HTMLElement instance of the object you are looking for. |
---|---|
Returns: | list – List of PathCall instances. |
Look for element by its predecesors.
Parameters: |
|
---|---|
Returns: | list – [PathCall()] - list with one PathCall object (to allow use with .extend(predecesors_pattern())). |