private function parseViaPragmas(array $tokenStruct, Pragma\PragmaCollection $pragmas, array $scopedPragmas)
    {
        $token = $tokenStruct[0];
        foreach ($this->filterPragmasByToken($token, $pragmas, $scopedPragmas) as $pragma) {
            $data        = $tokenStruct[1];
            $tokenStruct = $pragma->parse($tokenStruct);
            $this->assertTokenStruct($tokenStruct);
        }

        return $tokenStruct;
    }