class_docstr: AST Visitor that processes function calls.
  
  Updates function calls from old API version to new API version using a given
  change spec.
class_docstr_tok: ["AST","Visitor","that","processes","function","calls",".","Updates","function","calls","from","old","API","version","to","new","API","version","using","a","given","change","spec","."]
docstr: Get all list entries indexed by name that apply to full_name or name.
docstr_tok: ["Get","all","list","entries","indexed","by","name","that","apply","to","full_name","or","name","."]
code: def _get_applicable_entries(self, transformer_field, full_name, name):
      """Get all list entries indexed by name that apply to full_name or name."""
      # Transformers are indexed to full name, name, or no name
      # as a performance optimization.
      function_transformers = getattr(
          self._api_change_spec, transformer_field, {}
      )
  
      glob_name = "*." + name if name else None
      transformers = []
      if full_name in function_transformers:
          transformers.append(function_transformers[full_name])
      if glob_name in function_transformers:
          transformers.append(function_transformers[glob_name])
      if "*" in function_transformers:
          transformers.append(function_transformers["*"])
      return transformers
  
imports: import ast
  import collections
  import os
  import re
  import shutil
  import sys
  import tempfile
  import traceback
  import pasta
label_desc: Use image node_id 10 for calling the _PastaEditVisitor obj's underlying member method code with example usage: obj._get_applicable_entries(transformer_field, full_name, name) and returns: transformers