Interface CqnTemporalLiteral<E extends Temporal>

All Superinterfaces:
CqnLiteral<E>, CqnToken, CqnValue, JSONizable

public interface CqnTemporalLiteral<E extends Temporal> extends CqnLiteral<E>
  • Method Details

    • accept

      default void accept(CqnVisitor visitor)
      Description copied from interface: CqnToken
      Traverses the expression tree represented by this token with a given visitor. The traversal order is depth-first. If this token has child nodes they are traversed first by dispatching the visitor to the children's accept methods. Afterwards this token is passed to the visitor's visit method specific for this token's type.
      Specified by:
      accept in interface CqnToken
      Parameters:
      visitor - the CqnVisitor
    • isTemporal

      default boolean isTemporal()
      Description copied from interface: CqnLiteral
      Returns true if this is a CqnTemporalLiteral.
      Specified by:
      isTemporal in interface CqnLiteral<E extends Temporal>
      Returns:
      true if this is a temporal literal, otherwise false