src/Pure/context_position.ML
changeset 24773 ec3a04e6f1a9
parent 23354 a189707c1d76
child 24791 fb1830099265
equal deleted inserted replaced
24772:2b838dfeca1e 24773:ec3a04e6f1a9
     8 signature CONTEXT_POSITION =
     8 signature CONTEXT_POSITION =
     9 sig
     9 sig
    10   val put: Position.T -> Proof.context -> Proof.context
    10   val put: Position.T -> Proof.context -> Proof.context
    11   val get: Proof.context -> Position.T
    11   val get: Proof.context -> Position.T
    12   val str_of: Proof.context -> string
    12   val str_of: Proof.context -> string
       
    13   val properties_of: Proof.context -> Markup.property list
    13 end;
    14 end;
    14 
    15 
    15 structure ContextPosition: CONTEXT_POSITION =
    16 structure ContextPosition: CONTEXT_POSITION =
    16 struct
    17 struct
    17 
    18 
    22 );
    23 );
    23 
    24 
    24 val put = Data.put;
    25 val put = Data.put;
    25 val get = Data.get;
    26 val get = Data.get;
    26 val str_of = Position.str_of o get;
    27 val str_of = Position.str_of o get;
       
    28 val properties_of = Position.properties_of o get;
    27 
    29 
    28 end;
    30 end;