class Clickhouse::QueryTokenizer::Token
- Clickhouse::QueryTokenizer::Token
- Reference
- Object
Defined in:
clickhouse/query_tokenizer.crConstructors
- .exactly(value, modifier = nil) : Token
- .included(value, modifier = nil) : Token
- .modified(value, modifier = nil) : Token
- .new(type : Clickhouse::QueryTokenizer::Type | Nil, value : Nil | String, modifier : Nil | String)
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #empty?
-
#inspect(io : IO)
Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.
- #modifier : String
- #modifier=(v : String) : String
-
#modifier=(v : Nil)
nil
assignments are always ignored - #modifier? : String | Nil
- #not
- #positive : Bool
- #positive=(v : Bool) : Bool
-
#positive=(v : Nil)
nil
assignments are always ignored - #positive? : Bool
-
#to_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
- #type : Type
- #type=(v : Type) : Type
-
#type=(v : Nil)
nil
assignments are always ignored - #type? : Type | Nil
- #value : String
- #value=(v : String) : String
-
#value=(v : Nil)
nil
assignments are always ignored - #value? : String | Nil
Constructor Detail
def self.new(type : Clickhouse::QueryTokenizer::Type | Nil, value : Nil | String, modifier : Nil | String)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.
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>
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>