All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.qbicc.graph.NodeVisitor Maven / Gradle / Ivy

There is a newer version: 0.77.0
Show newest version
package org.qbicc.graph;

/**
 * A visitor that can visit any program node.
 */
public interface NodeVisitor extends ValueVisitor, ActionVisitor, TerminatorVisitor {

    interface Delegating extends NodeVisitor, ValueVisitor.Delegating, ActionVisitor.Delegating, TerminatorVisitor.Delegating {
        NodeVisitor getDelegateNodeVisitor();

        default ActionVisitor getDelegateActionVisitor() {
            return getDelegateNodeVisitor();
        }

        default TerminatorVisitor getDelegateTerminatorVisitor() {
            return getDelegateNodeVisitor();
        }

        default ValueVisitor getDelegateValueVisitor() {
            return getDelegateNodeVisitor();
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy