silentbalanceyh/vertx-zero

View on GitHub
vertx-gaia/vertx-ams/src/main/jib/io/horizon/uca/qr/syntax/QBranch.java

Summary

Maintainability
A
0 mins
Test Coverage
package io.horizon.uca.qr.syntax;

import java.util.Set;

public interface QBranch extends QNode {

    /*
     * Operation node of branch
     * 1. If current node is leaf, the instance is `QValue`
     * 2. If current node is not leaf, the instance is `Set<QNode>` structure
     * -- Multi nodes may contains `leaf` or `branch`
     */
    Set<QNode> nodes();

    QBranch add(QNode node);
}