parameters: (self, filename, position)
return_statement: return SourceLocation.from_position(self, f, position[0], position[1])
docstring: Obtain a SourceLocation for a file in this translation unit.
  
          The position can be specified by passing:
  
            - Integer file offset. Initial file offset is 0.
            - 2-tuple of (line number, column number). Initial file position is
              (0, 0)
docstring_summary: Obtain a SourceLocation for a file in this translation unit.
docstring_tokens: Obtain a SourceLocation for a file in this translation unit .
function: def get_location(self, filename, position):
          """Obtain a SourceLocation for a file in this translation unit.
  
          The position can be specified by passing:
  
            - Integer file offset. Initial file offset is 0.
            - 2-tuple of (line number, column number). Initial file position is
              (0, 0)
          """
          f = self.get_file(filename)
  
          if isinstance(position, int):
              return SourceLocation.from_offset(self, f, position)
  
          return SourceLocation.from_position(self, f, position[0], position[1])
function_tokens: def get_location ( self , filename , position ) : f = self . get_file ( filename ) if isinstance ( position , int ) : return SourceLocation . from_offset ( self , f , position ) return SourceLocation . from_position ( self , f , position [ 0 ] , position [ 1 ] )