Interface CqnStructuredLiteral

All Superinterfaces:
CqnLiteral<Map<String,Object>>, CqnToken, CqnValue, JSONizable

public interface CqnStructuredLiteral extends CqnLiteral<Map<String,Object>>
  • Method Details

    • value

      Map<String,Object> value()
      Description copied from interface: CqnLiteral
      Returns the literal value.
      Specified by:
      value in interface CqnLiteral<Map<String,Object>>
      Returns:
      the literal value
    • 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
    • isStructured

      default boolean isStructured()
      Description copied from interface: CqnLiteral
      Returns true if this is a CqnStructuredLiteral.
      Specified by:
      isStructured in interface CqnLiteral<Map<String,Object>>
      Returns:
      true if this is a structured literal, otherwise false