parameters: (self, args, target, is_expression)
return_statement: return target
docstring: write a filter-applying expression based on the filters
          present in the given filter names, adjusting for the global
          'default' filter aliases as needed.
docstring_summary: write a filter-applying expression based on the filters
          present in the given filter names, adjusting for the global
          'default' filter aliases as needed.
docstring_tokens: write a filter - applying expression based on the filters present in the given filter names adjusting for the global default filter aliases as needed .
function: def create_filter_callable(self, args, target, is_expression):
          """write a filter-applying expression based on the filters
          present in the given filter names, adjusting for the global
          'default' filter aliases as needed."""
  
          def locate_encode(name):
              if re.match(r"decode\..+", name):
                  return "filters." + name
              elif self.compiler.disable_unicode:
                  return filters.NON_UNICODE_ESCAPES.get(name, name)
              else:
                  return filters.DEFAULT_ESCAPES.get(name, name)
  
          if "n" not in args:
              if is_expression:
                  if self.compiler.pagetag:
                      args = self.compiler.pagetag.filter_args.args + args
                  if self.compiler.default_filters and "n" not in args:
                      args = self.compiler.default_filters + args
          for e in args:
              # if filter given as a function, get just the identifier portion
              if e == "n":
                  continue
              m = re.match(r"(.+?)(\(.*\))", e)
              if m:
                  ident, fargs = m.group(1, 2)
                  f = locate_encode(ident)
                  e = f + fargs
              else:
                  e = locate_encode(e)
                  assert e is not None
              target = "%s(%s)" % (e, target)
          return target
function_tokens: def create_filter_callable ( self , args , target , is_expression ) : def locate_encode ( name ) : if re . match ( r"decode\..+" , name ) : return "filters." + name elif self . compiler . disable_unicode : return filters . NON_UNICODE_ESCAPES . get ( name , name ) else : return filters . DEFAULT_ESCAPES . get ( name , name ) if "n" not in args : if is_expression : if self . compiler . pagetag : args = self . compiler . pagetag . filter_args . args + args if self . compiler . default_filters and "n" not in args : args = self . compiler . default_filters + args for e in args : # if filter given as a function, get just the identifier portion if e == "n" : continue m = re . match ( r"(.+?)(\(.*\))" , e ) if m : ident , fargs = m . group ( 1 , 2 ) f = locate_encode ( ident ) e = f + fargs else : e = locate_encode ( e ) assert e is not None target = "%s(%s)" % ( e , target ) return target