Summary: The type-name definition for Java can be potentially improved (eg increase sharing, or comparison speed, much like `QualifiedCppName`) by switching away from `Mangled.t` which is essentially a string. First step is to abstract the type. Reviewed By: jberdine Differential Revision: D19087508 fbshipit-source-id: 91a81f63bmaster
parent
87b29a2d72
commit
a79a819679
@ -0,0 +1,9 @@
|
|||||||
|
(*
|
||||||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*)
|
||||||
|
|
||||||
|
open! IStd
|
||||||
|
include Mangled
|
@ -0,0 +1,16 @@
|
|||||||
|
(*
|
||||||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*)
|
||||||
|
|
||||||
|
open! IStd
|
||||||
|
|
||||||
|
type t [@@deriving compare]
|
||||||
|
|
||||||
|
val from_string : string -> t
|
||||||
|
|
||||||
|
val to_string : t -> string
|
||||||
|
|
||||||
|
val pp : Format.formatter -> t -> unit
|
Loading…
Reference in new issue