src/Pure/Isar/args.ML
changeset 53112 04d8af9ff64b
parent 48992 0518bf89c777
child 53113 d9ba3417cb41
equal deleted inserted replaced
53111:f7f1636ee2ba 53112:04d8af9ff64b
    99 fun transform_values phi = map_args (Token.map_value
    99 fun transform_values phi = map_args (Token.map_value
   100   (fn Token.Text s => Token.Text s
   100   (fn Token.Text s => Token.Text s
   101     | Token.Typ T => Token.Typ (Morphism.typ phi T)
   101     | Token.Typ T => Token.Typ (Morphism.typ phi T)
   102     | Token.Term t => Token.Term (Morphism.term phi t)
   102     | Token.Term t => Token.Term (Morphism.term phi t)
   103     | Token.Fact ths => Token.Fact (Morphism.fact phi ths)
   103     | Token.Fact ths => Token.Fact (Morphism.fact phi ths)
   104     | Token.Attribute att => Token.Attribute (Morphism.transform phi att)));
   104     | Token.Attribute att => Token.Attribute (Morphism.transform phi att)
       
   105     | tok as Token.Files _ => tok));
   105 
   106 
   106 val assignable = map_args Token.assignable;
   107 val assignable = map_args Token.assignable;
   107 val closure = map_args Token.closure;
   108 val closure = map_args Token.closure;
   108 
   109 
   109 
   110