parameters: (node)
docstring: Makes all the properties we know about in this node absolute.
docstring_summary: Makes all the properties we know about in this node absolute.
docstring_tokens: Makes all the properties we know about in this node absolute .
function: def AbsoluteNode(node):
      """Makes all the properties we know about in this node absolute."""
      if node.attributes:
          for (name, value) in node.attributes.items():
              if name in [
                  "InheritedPropertySheets",
                  "RelativePath",
                  "AdditionalIncludeDirectories",
                  "IntermediateDirectory",
                  "OutputDirectory",
                  "AdditionalLibraryDirectories",
              ]:
                  # We want to fix up these paths
                  path_list = value.split(";")
                  new_list = FixFilenames(path_list, os.path.dirname(ARGUMENTS[1]))
                  node.setAttribute(name, ";".join(new_list))
              if not value:
                  node.removeAttribute(name)
function_tokens: def AbsoluteNode ( node ) : if node . attributes : for ( name , value ) in node . attributes . items ( ) : if name in [ "InheritedPropertySheets" , "RelativePath" , "AdditionalIncludeDirectories" , "IntermediateDirectory" , "OutputDirectory" , "AdditionalLibraryDirectories" , ] : # We want to fix up these paths path_list = value . split ( ";" ) new_list = FixFilenames ( path_list , os . path . dirname ( ARGUMENTS [ 1 ] ) ) node . setAttribute ( name , ";" . join ( new_list ) ) if not value : node . removeAttribute ( name )