code: def get_paths(path_tokens):
      
      if len(path_tokens) == 0:
          return []
  
      token = path_tokens.pop()
      path = PathToken(token.alias, token.path)
      return [path] + get_paths(path_tokens)
docs: Given a list of parser path tokens, return a list of path objects
      for them.