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

cdc.applic.dictionaries.impl.DerivedContextAssertionImpl Maven / Gradle / Ivy

The newest version!
package cdc.applic.dictionaries.impl;

import cdc.applic.dictionaries.items.AssertionKind;
import cdc.applic.dictionaries.items.DerivedContextAssertion;
import cdc.applic.expressions.Expression;
import cdc.util.lang.ObjectUtils;

/**
 * Implementation of derived context assertion.
 *
 * @author Damien Carbonne
 */
public final class DerivedContextAssertionImpl extends AbstractDExpressedImpl implements DerivedContextAssertion {
    protected DerivedContextAssertionImpl(AbstractDictionaryImpl dictionary,
                                          Expression expression) {
        super(dictionary, expression);
    }

    @Override
    public AssertionKind getKind() {
        return AssertionKind.DERIVED_CONTEXT;
    }

    @Override
    public String toString() {
        return "DerivedContextAssertion@" + ObjectUtils.identityHashString(this)
                + "[" + getExpression() + "]";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy