Interface CqnNullValue

All Superinterfaces:
CqnToken, CqnValue, JSONizable
All Known Subinterfaces:
NullValue

public interface CqnNullValue extends CqnValue
  • Method Details

    • isNullValue

      default boolean isNullValue()
      Description copied from interface: CqnValue
      Returns true if this is a CqnNullValue.
      Specified by:
      isNullValue in interface CqnValue
      Returns:
      true if this is a null value, otherwise false
    • asNullValue

      default CqnNullValue asNullValue()
      Description copied from interface: CqnValue
      Casts this value to CqnNullValue.
      Specified by:
      asNullValue in interface CqnValue
      Returns:
      this value as a null value
    • accept

      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