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

org.vertexium.cypher.ast.model.CypherUnaryExpression Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
package org.vertexium.cypher.ast.model;

import java.util.stream.Stream;

public class CypherUnaryExpression extends CypherExpression {
    private final Op op;
    private final CypherAstBase expression;

    public CypherUnaryExpression(Op op, CypherAstBase expression) {
        this.op = op;
        this.expression = expression;
    }

    public Op getOp() {
        return op;
    }

    public CypherAstBase getExpression() {
        return expression;
    }

    @Override
    public Stream getChildren() {
        return Stream.of(expression);
    }

    public enum Op {
        NOT
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy