class Clickhouse::QueryTokenizer::Token

Defined in:

clickhouse/query_tokenizer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.exactly(value, modifier = nil) : Token #

[View source]
def self.included(value, modifier = nil) : Token #

[View source]
def self.modified(value, modifier = nil) : Token #

[View source]
def self.new(type : Clickhouse::QueryTokenizer::Type | Nil, value : Nil | String, modifier : Nil | String) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def empty? #

[View source]
def inspect(io : IO) #
Description copied from class Reference

Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).inspect # => #<Person:0x10fd31f20 @name="John", @age=32>

[View source]
def modifier : String #

def modifier=(v : String) : String #

def modifier=(v : Nil) #

nil assignments are always ignored


def modifier? : String | Nil #

def not #

[View source]
def positive : Bool #

def positive=(v : Bool) : Bool #

def positive=(v : Nil) #

nil assignments are always ignored


def positive? : Bool #

def to_s(io : IO) #
Description copied from class Reference

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>

[View source]
def type : Type #

def type=(v : Type) : Type #

def type=(v : Nil) #

nil assignments are always ignored


def type? : Type | Nil #

def value : String #

def value=(v : String) : String #

def value=(v : Nil) #

nil assignments are always ignored


def value? : String | Nil #