Fl_metascanner
type pkg_definition = {
def_var : string; |
def_flav : flavour; |
def_preds : formal_pred list; |
def_value : string; |
}
val parse : in_channel -> pkg_expr
val parse2 : in_channel -> pkg_expr
val parse2_lexing : Lexing.lexbuf -> pkg_expr
val parse_lexing : Lexing.lexbuf -> pkg_expr
val print_def : out_channel -> pkg_definition -> unit
val print : out_channel -> pkg_expr -> unit
val lookup : string -> string list -> pkg_definition list -> string
val lookup_2 : string -> string list -> pkg_definition list -> string * formal_pred list
val predicate_exists : string -> pkg_definition list -> bool