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

org.geolatte.common.cql.analysis.AnalysisAdapter Maven / Gradle / Ivy

Go to download

This GeoLatte-common library contains the transformer framework and other common classes used by other GeoLatte modules.

There is a newer version: 0.8
Show newest version
/* This file was generated by SableCC (http://www.sablecc.org/). */

package org.geolatte.common.cql.analysis;

import java.util.*;
import org.geolatte.common.cql.node.*;

public class AnalysisAdapter implements Analysis
{
    private Hashtable in;
    private Hashtable out;

    public Object getIn(Node node)
    {
        if(this.in == null)
        {
            return null;
        }

        return this.in.get(node);
    }

    public void setIn(Node node, Object o)
    {
        if(this.in == null)
        {
            this.in = new Hashtable(1);
        }

        if(o != null)
        {
            this.in.put(node, o);
        }
        else
        {
            this.in.remove(node);
        }
    }

    public Object getOut(Node node)
    {
        if(this.out == null)
        {
            return null;
        }

        return this.out.get(node);
    }

    public void setOut(Node node, Object o)
    {
        if(this.out == null)
        {
            this.out = new Hashtable(1);
        }

        if(o != null)
        {
            this.out.put(node, o);
        }
        else
        {
            this.out.remove(node);
        }
    }

    public void caseStart(Start node)
    {
        defaultCase(node);
    }

    public void caseAGtExpr(AGtExpr node)
    {
        defaultCase(node);
    }

    public void caseALtExpr(ALtExpr node)
    {
        defaultCase(node);
    }

    public void caseAGteExpr(AGteExpr node)
    {
        defaultCase(node);
    }

    public void caseALteExpr(ALteExpr node)
    {
        defaultCase(node);
    }

    public void caseAEqExpr(AEqExpr node)
    {
        defaultCase(node);
    }

    public void caseANeqExpr(ANeqExpr node)
    {
        defaultCase(node);
    }

    public void caseALikeExpr(ALikeExpr node)
    {
        defaultCase(node);
    }

    public void caseANotLikeExpr(ANotLikeExpr node)
    {
        defaultCase(node);
    }

    public void caseAIlikeExpr(AIlikeExpr node)
    {
        defaultCase(node);
    }

    public void caseANotIlikeExpr(ANotIlikeExpr node)
    {
        defaultCase(node);
    }

    public void caseAIsNullExpr(AIsNullExpr node)
    {
        defaultCase(node);
    }

    public void caseAIsNotNullExpr(AIsNotNullExpr node)
    {
        defaultCase(node);
    }

    public void caseAOrExpr(AOrExpr node)
    {
        defaultCase(node);
    }

    public void caseAAndExpr(AAndExpr node)
    {
        defaultCase(node);
    }

    public void caseANotExpr(ANotExpr node)
    {
        defaultCase(node);
    }

    public void caseAExistsExpr(AExistsExpr node)
    {
        defaultCase(node);
    }

    public void caseADoesNotExistExpr(ADoesNotExistExpr node)
    {
        defaultCase(node);
    }

    public void caseABeforeExpr(ABeforeExpr node)
    {
        defaultCase(node);
    }

    public void caseAAfterExpr(AAfterExpr node)
    {
        defaultCase(node);
    }

    public void caseADuringExpr(ADuringExpr node)
    {
        defaultCase(node);
    }

    public void caseABeforeOrDuringExpr(ABeforeOrDuringExpr node)
    {
        defaultCase(node);
    }

    public void caseADuringOrAfterExpr(ADuringOrAfterExpr node)
    {
        defaultCase(node);
    }

    public void caseAGeoEqualsExpr(AGeoEqualsExpr node)
    {
        defaultCase(node);
    }

    public void caseAIdAttr(AIdAttr node)
    {
        defaultCase(node);
    }

    public void caseACompoundIdAttr(ACompoundIdAttr node)
    {
        defaultCase(node);
    }

    public void caseANumericLiteral(ANumericLiteral node)
    {
        defaultCase(node);
    }

    public void caseAStringLiteral(AStringLiteral node)
    {
        defaultCase(node);
    }

    public void caseABooleanLiteral(ABooleanLiteral node)
    {
        defaultCase(node);
    }

    public void caseADatetimeLiteral(ADatetimeLiteral node)
    {
        defaultCase(node);
    }

    public void caseATimespanLiteral(ATimespanLiteral node)
    {
        defaultCase(node);
    }

    public void caseADefaultNumericLiteral(ADefaultNumericLiteral node)
    {
        defaultCase(node);
    }

    public void caseADefaultStringLiteral(ADefaultStringLiteral node)
    {
        defaultCase(node);
    }

    public void caseATrueBooleanLiteral(ATrueBooleanLiteral node)
    {
        defaultCase(node);
    }

    public void caseAFalseBooleanLiteral(AFalseBooleanLiteral node)
    {
        defaultCase(node);
    }

    public void caseAUnknownBooleanLiteral(AUnknownBooleanLiteral node)
    {
        defaultCase(node);
    }

    public void caseADefaultDatetimeLiteral(ADefaultDatetimeLiteral node)
    {
        defaultCase(node);
    }

    public void caseADefaultDurationLiteral(ADefaultDurationLiteral node)
    {
        defaultCase(node);
    }

    public void caseAFromToTimespanLiteral(AFromToTimespanLiteral node)
    {
        defaultCase(node);
    }

    public void caseAFromDurationTimespanLiteral(AFromDurationTimespanLiteral node)
    {
        defaultCase(node);
    }

    public void caseADurationToTimespanLiteral(ADurationToTimespanLiteral node)
    {
        defaultCase(node);
    }

    public void caseAPointGeometryLiteral(APointGeometryLiteral node)
    {
        defaultCase(node);
    }

    public void caseALineStringGeometryLiteral(ALineStringGeometryLiteral node)
    {
        defaultCase(node);
    }

    public void caseAPolygonGeometryLiteral(APolygonGeometryLiteral node)
    {
        defaultCase(node);
    }

    public void caseAMultiPointGeometryLiteral(AMultiPointGeometryLiteral node)
    {
        defaultCase(node);
    }

    public void caseAMultiLineStringGeometryLiteral(AMultiLineStringGeometryLiteral node)
    {
        defaultCase(node);
    }

    public void caseAMultiPolygonGeometryLiteral(AMultiPolygonGeometryLiteral node)
    {
        defaultCase(node);
    }

    public void caseAGeometryCollectionGeometryLiteral(AGeometryCollectionGeometryLiteral node)
    {
        defaultCase(node);
    }

    public void caseTWktPointLiteral(TWktPointLiteral node)
    {
        defaultCase(node);
    }

    public void caseTWktLineStringLiteral(TWktLineStringLiteral node)
    {
        defaultCase(node);
    }

    public void caseTWktPolygonLiteral(TWktPolygonLiteral node)
    {
        defaultCase(node);
    }

    public void caseTWktMultiPointLiteral(TWktMultiPointLiteral node)
    {
        defaultCase(node);
    }

    public void caseTWktMultiLineStringLiteral(TWktMultiLineStringLiteral node)
    {
        defaultCase(node);
    }

    public void caseTWktMultiPolygonLiteral(TWktMultiPolygonLiteral node)
    {
        defaultCase(node);
    }

    public void caseTWktGeometryCollectionLiteral(TWktGeometryCollectionLiteral node)
    {
        defaultCase(node);
    }

    public void caseTWktEmptySetLiteral(TWktEmptySetLiteral node)
    {
        defaultCase(node);
    }

    public void caseTBlank(TBlank node)
    {
        defaultCase(node);
    }

    public void caseTSpace(TSpace node)
    {
        defaultCase(node);
    }

    public void caseTNewline(TNewline node)
    {
        defaultCase(node);
    }

    public void caseTSign(TSign node)
    {
        defaultCase(node);
    }

    public void caseTLeftParen(TLeftParen node)
    {
        defaultCase(node);
    }

    public void caseTRightParen(TRightParen node)
    {
        defaultCase(node);
    }

    public void caseTPeriod(TPeriod node)
    {
        defaultCase(node);
    }

    public void caseTColon(TColon node)
    {
        defaultCase(node);
    }

    public void caseTComma(TComma node)
    {
        defaultCase(node);
    }

    public void caseTLessThanOperator(TLessThanOperator node)
    {
        defaultCase(node);
    }

    public void caseTEqualsOperator(TEqualsOperator node)
    {
        defaultCase(node);
    }

    public void caseTGreaterThanOperator(TGreaterThanOperator node)
    {
        defaultCase(node);
    }

    public void caseTNotEqualsOperator(TNotEqualsOperator node)
    {
        defaultCase(node);
    }

    public void caseTGreaterThanOrEqualsOperator(TGreaterThanOrEqualsOperator node)
    {
        defaultCase(node);
    }

    public void caseTLessThanOrEqualsOperator(TLessThanOrEqualsOperator node)
    {
        defaultCase(node);
    }

    public void caseTBooleanNotOperator(TBooleanNotOperator node)
    {
        defaultCase(node);
    }

    public void caseTBooleanAndOperator(TBooleanAndOperator node)
    {
        defaultCase(node);
    }

    public void caseTBooleanOrOperator(TBooleanOrOperator node)
    {
        defaultCase(node);
    }

    public void caseTTextLikeOperator(TTextLikeOperator node)
    {
        defaultCase(node);
    }

    public void caseTTextIlikeOperator(TTextIlikeOperator node)
    {
        defaultCase(node);
    }

    public void caseTExistsOperator(TExistsOperator node)
    {
        defaultCase(node);
    }

    public void caseTDoesnotexistOperator(TDoesnotexistOperator node)
    {
        defaultCase(node);
    }

    public void caseTTemporalBeforeOperator(TTemporalBeforeOperator node)
    {
        defaultCase(node);
    }

    public void caseTTemporalBeforeorduringOperator(TTemporalBeforeorduringOperator node)
    {
        defaultCase(node);
    }

    public void caseTTemporalDuringOperator(TTemporalDuringOperator node)
    {
        defaultCase(node);
    }

    public void caseTTemporalDuringorafterOperator(TTemporalDuringorafterOperator node)
    {
        defaultCase(node);
    }

    public void caseTTemporalAfterOperator(TTemporalAfterOperator node)
    {
        defaultCase(node);
    }

    public void caseTNullIsOperator(TNullIsOperator node)
    {
        defaultCase(node);
    }

    public void caseTNullNotOperator(TNullNotOperator node)
    {
        defaultCase(node);
    }

    public void caseTGeoEqualsOperator(TGeoEqualsOperator node)
    {
        defaultCase(node);
    }

    public void caseTGeoDisjointOperator(TGeoDisjointOperator node)
    {
        defaultCase(node);
    }

    public void caseTGeoIntersectsOperator(TGeoIntersectsOperator node)
    {
        defaultCase(node);
    }

    public void caseTGeoTouchesOperator(TGeoTouchesOperator node)
    {
        defaultCase(node);
    }

    public void caseTGeoCrossesOperator(TGeoCrossesOperator node)
    {
        defaultCase(node);
    }

    public void caseTGeoWithinOperator(TGeoWithinOperator node)
    {
        defaultCase(node);
    }

    public void caseTGeoContainsOperator(TGeoContainsOperator node)
    {
        defaultCase(node);
    }

    public void caseTGeoOverlapsOperator(TGeoOverlapsOperator node)
    {
        defaultCase(node);
    }

    public void caseTGeoRelateOperator(TGeoRelateOperator node)
    {
        defaultCase(node);
    }

    public void caseTRelgeoDwithinOperator(TRelgeoDwithinOperator node)
    {
        defaultCase(node);
    }

    public void caseTRelgeoBeyondOperator(TRelgeoBeyondOperator node)
    {
        defaultCase(node);
    }

    public void caseTBooleanTrue(TBooleanTrue node)
    {
        defaultCase(node);
    }

    public void caseTBooleanFalse(TBooleanFalse node)
    {
        defaultCase(node);
    }

    public void caseTBooleanUnknown(TBooleanUnknown node)
    {
        defaultCase(node);
    }

    public void caseTNullConstant(TNullConstant node)
    {
        defaultCase(node);
    }

    public void caseTSignedNumericLiteral(TSignedNumericLiteral node)
    {
        defaultCase(node);
    }

    public void caseTUnsignedInteger(TUnsignedInteger node)
    {
        defaultCase(node);
    }

    public void caseTCharacterStringLiteral(TCharacterStringLiteral node)
    {
        defaultCase(node);
    }

    public void caseTIdentifier(TIdentifier node)
    {
        defaultCase(node);
    }

    public void caseTDurationDateTimeSeparator(TDurationDateTimeSeparator node)
    {
        defaultCase(node);
    }

    public void caseTDurationSymbol(TDurationSymbol node)
    {
        defaultCase(node);
    }

    public void caseTTimeSpanSeparator(TTimeSpanSeparator node)
    {
        defaultCase(node);
    }

    public void caseTDatetime(TDatetime node)
    {
        defaultCase(node);
    }

    public void caseTDurDaySymbol(TDurDaySymbol node)
    {
        defaultCase(node);
    }

    public void caseTDurMonthSymbol(TDurMonthSymbol node)
    {
        defaultCase(node);
    }

    public void caseTDurYearSymbol(TDurYearSymbol node)
    {
        defaultCase(node);
    }

    public void caseTDurSecondSymbol(TDurSecondSymbol node)
    {
        defaultCase(node);
    }

    public void caseTDurMinuteSymbol(TDurMinuteSymbol node)
    {
        defaultCase(node);
    }

    public void caseTDurHourSymbol(TDurHourSymbol node)
    {
        defaultCase(node);
    }

    public void caseEOF(EOF node)
    {
        defaultCase(node);
    }

    public void defaultCase(@SuppressWarnings("unused") Node node)
    {
        // do nothing
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy