Module CombineAST

module CombineAST: sig .. end

This module defines the bbstract syntax tree for 'combine' expressions.


type binop = 
| Plus (*

i. e. +.

*)
| Minus (*

i. e. -.

*)
| Multiply (*

i. e. *.

*)
| Divide (*

i. e. /.

*)

The type of binary operators.

type expr = 
| Binop of binop * expr * expr (*

i. e. e1 op e2.

*)
| Function of string * expr list (*

i. e. f(e1, ..., en).

*)
| File of string (*

i. e. "filename".

*)
| Files of string (*

i. e. <regexp>.

*)
| Integer of int (*

i. e. 123.

*)

The type of combination expression.

val to_string : expr -> string

Converts the passed expression into a string.