src/Pure/Isar/token.ML
changeset 55111 5792f5106c40
parent 55107 1a29ea173bf9
child 55708 f4b114070675
--- a/src/Pure/Isar/token.ML	Wed Jan 22 15:28:19 2014 +0100
+++ b/src/Pure/Isar/token.ML	Wed Jan 22 16:03:11 2014 +0100
@@ -41,7 +41,7 @@
   val is_space: T -> bool
   val is_blank: T -> bool
   val is_newline: T -> bool
-  val source_of: T -> string
+  val inner_syntax_of: T -> string
   val source_position_of: T -> Symbol_Pos.text * Position.T
   val content_of: T -> string
   val unparse: T -> string
@@ -206,7 +206,7 @@
 
 (* token content *)
 
-fun source_of (Token ((source, (pos, _)), (_, x), _)) =
+fun inner_syntax_of (Token ((source, (pos, _)), (_, x), _)) =
   if YXML.detect x then x
   else YXML.string_of (XML.Elem (Markup.token (Position.properties_of pos), [XML.Text source]));