Refactored to have a generic parser walker function
Checking relative and absolute positioning relationships