original_docstring: 
          Return language based on the directives in p's ancestors.
          Same as BaseColorizer.scanColorDirectives, except it also scans p.b.
          
docstring: Return language based on the directives in p's ancestors.
docstring_tokens: Return language based on the directives in p ' s ancestors .
code: def scanColorDirectives(self, p):
          """
          Return language based on the directives in p's ancestors.
          Same as BaseColorizer.scanColorDirectives, except it also scans p.b.
          """
          c = self.c
          root = p.copy()
          for p in root.self_and_parents(copy=False):
              language = g.findFirstValidAtLanguageDirective(p.b)
              if language:
                  return language
          #  Get the language from the nearest ancestor @<file> node.
          language = g.getLanguageFromAncestorAtFileNode(root) or c.target_language
          return language
code_tokens: def scanColorDirectives ( self , p ) : c = self . c root = p . copy ( ) for p in root . self_and_parents ( copy = False ) : language = g . findFirstValidAtLanguageDirective ( p . b ) if language : return language language = g . getLanguageFromAncestorAtFileNode ( root ) or c . target_language return language
short_docstring: Return language based on the directives in p's ancestors.
short_docstring_tokens: Return language based on the directives in p ' s ancestors .
comment: """
          Return language based on the directives in p's ancestors.
          Same as BaseColorizer.scanColorDirectives, except it also scans p.b.
          """$SEP$#  Get the language from the nearest ancestor @<file> node.