R/Token.R

#' Abstract Token class.
#'
#' This is an abstract class representing a SQL token. It is inherited by
#' concrete token classes such as `TokenValue` and `TokenIdentifier`.
#'
#' @examples
#' # No example provided, as this class is abstract.
#'
#' @import R6
Token <- R6::R6Class("Token",
  public = list(

    #' @description
    #' Convert this object into a string.
    #' @return A character value.
    toString = function() {
      stop("Not implemented.", call. = FALSE)
    }
  )
)

Try the sqlq package in your browser

Any scripts or data that you put into this service are public.

sqlq documentation built on Sept. 16, 2025, 9:10 a.m.