Interface CqnBooleanLiteral

All Superinterfaces:
CqnLiteral<Boolean>, CqnToken, CqnValue, JSONizable
All Known Subinterfaces:
BooleanValue

public interface CqnBooleanLiteral extends CqnLiteral<Boolean>
  • 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
    • isBoolean

      default boolean isBoolean()
      Description copied from interface: CqnLiteral
      Returns true if this is a CqnBooleanLiteral.
      Specified by:
      isBoolean in interface CqnLiteral<Boolean>
      Returns:
      true if this is a boolean literal, otherwise false