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

com.contentgrid.thunx.predicates.model.ContextFreeThunkExpressionVisitor Maven / Gradle / Ivy

Go to download

Set of (vendor-neutral) data structures to model authorization policy expressions

There is a newer version: 0.11.0
Show newest version
package com.contentgrid.thunx.predicates.model;

public abstract class ContextFreeThunkExpressionVisitor implements ThunkExpressionVisitor {

    @Override
    public T visit(Scalar scalar, Void context) {
        return this.visit(scalar);
    }

    @Override
    public T visit(FunctionExpression functionExpression, Void context) {
        return this.visit(functionExpression);
    }

    @Override
    public T visit(SymbolicReference symbolicReference, Void context) {
        return this.visit(symbolicReference);
    }

    @Override
    public T visit(Variable variable, Void context) {
        return this.visit(variable);
    }


    protected abstract T visit(Scalar scalar);
    protected abstract T visit(FunctionExpression functionExpression);
    protected abstract T visit(SymbolicReference symbolicReference);
    protected abstract T visit(Variable variable);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy