proposit-core
    Preparing search index...

    Interface TFormulaTreeVisitor<T>

    Visitor callbacks for walking a premise's expression tree. Each method handles one node type and returns a caller-defined result.

    interface TFormulaTreeVisitor<T> {
        empty(): T;
        formula(child: T): T;
        operator(type: "not" | "and" | "or" | "implies" | "iff", children: T[]): T;
        variable(symbol: string, variableId: string): T;
    }

    Type Parameters

    • T
    Index

    Methods