NamedPaths are now built using AST patterns (AbstractPattern)