class QT::MtPair
- QT::MtPair
- QT::MtNode
- Reference
- Object
Defined in:
core/mt_node/mt_pair.crConstructors
Instance Method Summary
- #apply_cap!(cap : Bool = true) : Bool
- #each(&)
- #ends_with?(key : String | Char)
- #find_by_key(key : String | Char)
-
#inspect(io : IO = STDOUT, pad = 0) : Nil
Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.
- #list
- #modifier?
- #starts_with?(key : String | Char)
- #to_int?
- #to_mtl(io : IO = STDOUT) : Nil
- #to_txt(io : IO) : Nil
Instance methods inherited from class QT::MtNode
apply_cap!(cap : Bool)
apply_cap!,
aspect?
aspect?,
dic : Int32
dic,
dic=(dic : Int32)
dic=,
ends_with?(key : String | Char)
ends_with?,
find_by_key(key : String | Char)
find_by_key,
fix_prev!(prev : Nil) : Nilfix_prev!(prev : MtNode) : Nil fix_prev!, fix_succ!(succ : Nil) : Nil
fix_succ!(succ : MtNode) : Nil fix_succ!, idx : Int32 idx, idx=(idx : Int32) idx=, inspect(io : IO) inspect, key : String key, key=(key : String) key=, key_in?(*keys : String) key_in?, key_is?(key : String) key_is?, maybe_adjt? : Bool maybe_adjt?, maybe_verb? : Bool maybe_verb?, prev : MtNode prev, prev=(prev : MtNode) prev=, prev? : MtNode | Nil
prev?(&) prev?, set!(val : String, tag : PosTag) : self
set!(val : String) : self
set!(tag : PosTag) : self set!, space_before?(prev : Nil) : Bool
space_before?(prev : MtNode) space_before?, starts_with?(key : String | Char) starts_with?, succ : MtNode succ, succ=(succ : MtNode) succ=, succ? : MtNode | Nil
succ?(&) succ?, tag : PosTag tag, tag=(tag : PosTag) tag=, to_mtl(io : IO) to_mtl, to_txt(io : IO) to_txt, val : String val, val=(val : String) val=, vcompl? vcompl?
Macros inherited from class QT::MtNode
method_missing(call)
method_missing
Constructor Detail
def self.new(head : MtNode, tail : MtNode, tag : PosTag = PosTag::Unkn, dic = 0, idx = 1, opts : QT::MtPair::Opts = Opts::None)
#
Instance Method Detail
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>