class QT::MtPair

Defined in:

core/mt_node/mt_pair.cr

Constructors

Instance Method Summary

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) : Nil
fix_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) #

[View source]

Instance Method Detail

def apply_cap!(cap : Bool = true) : Bool #

[View source]
def each(&) #

[View source]
def ends_with?(key : String | Char) #

[View source]
def find_by_key(key : String | Char) #

[View source]
def inspect(io : IO = STDOUT, pad = 0) : Nil #
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 list #

[View source]
def modifier? #

[View source]
def starts_with?(key : String | Char) #

[View source]
def to_int? #

[View source]
def to_mtl(io : IO = STDOUT) : Nil #

[View source]
def to_txt(io : IO) : Nil #

[View source]