original_docstring: Return language based on the directives in p's ancestors.
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 scanLanguageDirectives(self, p, use_default=True):
          """Return language based on the directives in p's ancestors."""
          c = self.c
          language = g.getLanguageFromAncestorAtFileNode(p)
          if not language and use_default:
              language = c.target_language
          return language
code_tokens: def scanLanguageDirectives ( self , p , use_default = True ) : c = self . c language = g . getLanguageFromAncestorAtFileNode ( p ) if not language and use_default : language = 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."""