src/Pure/General/path.scala
changeset 48373 527e2bad7cca
parent 47661 012a887997f3
child 48409 0d2114eb412a
equal deleted inserted replaced
48370:d0fa3efec93b 48373:527e2bad7cca
     5 roots (e.g. //foo) and variables (e.g. $BAR).
     5 roots (e.g. //foo) and variables (e.g. $BAR).
     6 */
     6 */
     7 
     7 
     8 package isabelle
     8 package isabelle
     9 
     9 
       
    10 
       
    11 import java.io.File
    10 
    12 
    11 import scala.util.matching.Regex
    13 import scala.util.matching.Regex
    12 
    14 
    13 
    15 
    14 object Path
    16 object Path
   160         case x => List(x)
   162         case x => List(x)
   161       }
   163       }
   162 
   164 
   163     new Path(Path.norm_elems(elems.map(eval).flatten))
   165     new Path(Path.norm_elems(elems.map(eval).flatten))
   164   }
   166   }
       
   167 
       
   168 
       
   169   /* platform file */
       
   170 
       
   171   def file: File = Isabelle_System.platform_file(this)
   165 }
   172 }