package mopsa

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Core.RouteSource

Routes to select sub-trees of the abstraction when interpreting commands

Sourcetype domain = string
Sourcetype route =
  1. | Below of domain
    (*

    Sub-tree below a domain

    *)
  2. | Semantic of Ast.Semantic.semantic
    (*

    Sub-tree identified by a semantic

    *)

Routes

Sourceval compare_route : route -> route -> int

Set of domains

Compare two routes

Sourceval pp_route : Stdlib.Format.formatter -> route -> unit

Print a route

Sourceval toplevel : route

Toplevel tree

Sourcetype routing_table

Routing table providing the domains that are part of a route

Sourceval empty_routing_table : routing_table

Empty routing table

Sourceval resolve_route : route -> routing_table -> DomainSet.t

Resolve a route into domains

Add a route between a route and a domain

Add a set of routing_table linking a route and a set of domains

Sourceval get_routes : routing_table -> route list

Get all routing_table in a routing table

Sourceval join_routing_table : routing_table -> routing_table -> routing_table

Join two routing_table table

Sourceval pp_routing_table : Stdlib.Format.formatter -> routing_table -> unit

Print a routing table

OCaml

Innovation. Community. Security.