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

org.geolatte.common.cql.node.TDurYearSymbol 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.node;

import org.geolatte.common.cql.analysis.*;

@SuppressWarnings("nls")
public final class TDurYearSymbol extends Token
{
    public TDurYearSymbol()
    {
        super.setText("Y");
    }

    public TDurYearSymbol(int line, int pos)
    {
        super.setText("Y");
        setLine(line);
        setPos(pos);
    }

    @Override
    public Object clone()
    {
      return new TDurYearSymbol(getLine(), getPos());
    }

    public void apply(Switch sw)
    {
        ((Analysis) sw).caseTDurYearSymbol(this);
    }

    @Override
    public void setText(@SuppressWarnings("unused") String text)
    {
        throw new RuntimeException("Cannot change TDurYearSymbol text.");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy