src/Pure/ML/ml_env.ML
changeset 62494 b90109b2487c
parent 62493 dd154240a53c
child 62495 83db706d7771
equal deleted inserted replaced
62493:dd154240a53c 62494:b90109b2487c
    12   val add_breakpoint: serial * (bool Unsynchronized.ref * Position.T) ->
    12   val add_breakpoint: serial * (bool Unsynchronized.ref * Position.T) ->
    13     Context.generic -> Context.generic
    13     Context.generic -> Context.generic
    14   val get_breakpoint: Context.generic -> serial -> (bool Unsynchronized.ref * Position.T) option
    14   val get_breakpoint: Context.generic -> serial -> (bool Unsynchronized.ref * Position.T) option
    15   val add_name_space: {SML: bool} -> ML_Name_Space.T -> Context.generic -> Context.generic
    15   val add_name_space: {SML: bool} -> ML_Name_Space.T -> Context.generic -> Context.generic
    16   val name_space: {SML: bool, exchange: bool} -> ML_Name_Space.T
    16   val name_space: {SML: bool, exchange: bool} -> ML_Name_Space.T
    17   val local_context: use_context
    17   val local_context: ML_Compiler0.context
    18   val local_name_space: ML_Name_Space.T
    18   val local_name_space: ML_Name_Space.T
    19   val check_functor: string -> unit
    19   val check_functor: string -> unit
    20 end
    20 end
    21 
    21 
    22 structure ML_Env: ML_ENV =
    22 structure ML_Env: ML_ENV =
   160     allStruct    = all #4 #allStruct,
   160     allStruct    = all #4 #allStruct,
   161     allSig       = all #5 #allSig,
   161     allSig       = all #5 #allSig,
   162     allFunct     = all #6 #allFunct}
   162     allFunct     = all #6 #allFunct}
   163   end;
   163   end;
   164 
   164 
   165 val local_context: use_context =
   165 val local_context: ML_Compiler0.context =
   166  {name_space = name_space {SML = false, exchange = false},
   166  {name_space = name_space {SML = false, exchange = false},
   167   here = Position.here oo Position.line_file,
   167   here = Position.here oo Position.line_file,
   168   print = writeln,
   168   print = writeln,
   169   error = error};
   169   error = error};
   170 
   170