src/Pure/Thy/file_format.scala
changeset 69259 438e1a11445f
parent 69257 039edba27102
child 69277 258bef08b31e
equal deleted inserted replaced
69258:e05c9f314f90 69259:438e1a11445f
    49 
    49 
    50 
    50 
    51   /* implicit theory context: name and content */
    51   /* implicit theory context: name and content */
    52 
    52 
    53   def theory_suffix: String = ""
    53   def theory_suffix: String = ""
    54   def theory_content(ext_name: String): String = ""
    54   def theory_content(name: String): String = ""
    55 
    55 
    56   def make_theory_name(resources: Resources, name: Document.Node.Name): Option[Document.Node.Name] =
    56   def make_theory_name(resources: Resources, name: Document.Node.Name): Option[Document.Node.Name] =
    57   {
    57   {
    58     for {
    58     for {
    59       (_, ext_name) <- Thy_Header.split_file_name(name.node)
    59       (_, ext_name) <- Thy_Header.split_file_name(name.node)