Class: Cons (Umu::Value::Core::SExpr)

Overview
Module Structure
Class Hierarchy
Constants
Cons::TYPE_SYM
Cons::INDEX_BY_LABELS
Instance Methods
Cons#initialize / 2
Cons#car
Cons#cdr
Cons#to_string / 1
Cons#pretty_print / 1
Cons#pretty_print_cycle / 1
Cons#contents
Cons#meth_car / 3
Cons#meth_cdr / 3
Cons#meth_is_cons / 3
Cons#meth_contents / 3
Cons#meth_set_car! / 4
Cons#meth_set_cdr! / 4
Cons#meth_is_equal / 4
Cons#__to_string__ / 2
Cons#__pretty_print__ / 2
is a submodule of
module: SExpr ( Umu::Value::Core )
has modular siblings
class: Abstract   
class: Nil   
class: Value   
inherits from
  Abstract ( Umu::Value::Core::SExpr )
has class siblings
  Nil ( Umu::Value::Core::SExpr )
  Value ( Umu::Value::Core::SExpr )
has properties
constant: TYPE_SYM   
method: initialize / 2   
method: car   
method: cdr   
method: to_string / 1   
method: pretty_print / 1   
method: pretty_print_cycle / 1   
constant: INDEX_BY_LABELS   
method: contents   
method: meth_car / 3   
method: meth_cdr / 3   
method: meth_is_cons / 3   
method: meth_contents / 3   
method: meth_set_car! / 4   
method: meth_set_cdr! / 4   
method: meth_is_equal / 4   
method: __to_string__ / 2   
method: __pretty_print__ / 2   
is defined at
#250 in value/core/s-expression.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: Umu
  module: Value
  module: Core
  module: SExpr
class: Abstract     
class: Nil     
class: Value     
class: Cons     

Class Hierarchy

Object ( Builtin-Module )
Top ( Umu::Value::Core )
has properties
class method: class_method_infos   
class method: instance_method_infos   
class method: define_class_method / 5   
class method: define_instance_method / 5   
class method: __define_method__ / 6   
class method: type_sym (1/2)   
method: type_sym (2/E)   
method: pretty_print / 1   
method: invoke / 5   
method: apply / 4   
method: __invoke__ / 5   
Object ( Umu::Value::Core )
has properties
method: meth_show / 3   
alias: meth_to_string meth_show   
method: contents   
method: meth_contents / 3   
method: meth_is_equal / 4   
method: meth_is_not_equal / 4   
method: meth_is_less_than / 4   
method: meth_is_greater_than / 4   
method: meth_is_less_equal / 4   
method: meth_is_greater_equal / 4   
method: meth_compare / 4   
method: meth_force / 3   
Abstract ( Umu::Value::Core::SExpr )
has properties
class method: make / 1   
class method: meth_make_nil / 3   
class method: meth_make_value / 4   
class method: meth_make_cons / 5   
class method: meth_make / 4   
method: meth_cons / 4   
method: to_s   
method: pretty_print / 1   
method: meth_is_nil / 3   
method: meth_is_value / 3   
method: meth_is_cons / 3   
method: meth_to_string / 3   
method: meth_to_s_expr / 3   
Nil ( Umu::Value::Core::SExpr )
Value ( Umu::Value::Core::SExpr )
Cons ( Umu::Value::Core::SExpr )
has properties
constant: TYPE_SYM   
method: initialize / 2   
method: car   
method: cdr   
method: to_string / 1   
method: pretty_print / 1   
method: pretty_print_cycle / 1   
constant: INDEX_BY_LABELS   
method: contents   
method: meth_car / 3   
method: meth_cdr / 3   
method: meth_is_cons / 3   
method: meth_contents / 3   
method: meth_set_car! / 4   
method: meth_set_cdr! / 4   
method: meth_is_equal / 4   
method: __to_string__ / 2   
method: __pretty_print__ / 2   

Constants

Cons::TYPE_SYM

#251 in value/core/s-expression.rb

TYPE_SYM = :SExprCons   

Cons::INDEX_BY_LABELS

#301 in value/core/s-expression.rb

INDEX_BY_LABELS = {car: 0, cdr: 1}   

Instance Methods

Cons#initialize / 2

#254 in value/core/s-expression.rb

initialize ( car ,
  cdr )

Cons#to_string / 1

#275 in value/core/s-expression.rb

to_string ( visiteds = {} )

Cons#pretty_print / 1

#289 in value/core/s-expression.rb

pretty_print ( q )

Cons#pretty_print_cycle / 1

#296 in value/core/s-expression.rb

pretty_print_cycle ( q )

Cons#contents

#303 in value/core/s-expression.rb

contents

Cons#meth_car / 3

#313 in value/core/s-expression.rb

meth_car ( _loc ,
  _env ,
  _event )

Cons#meth_cdr / 3

#323 in value/core/s-expression.rb

meth_cdr ( _loc ,
  _env ,
  _event )

Cons#meth_is_cons / 3

#333 in value/core/s-expression.rb

meth_is_cons ( _loc ,
  _env ,
  _event )

Cons#meth_contents / 3

#343 in value/core/s-expression.rb

meth_contents ( _loc ,
  _env ,
  _event )

Cons#meth_set_car! / 4

#353 in value/core/s-expression.rb

meth_set_car! ( _loc ,
  _env ,
  _event ,
  car )

Cons#meth_set_cdr! / 4

#367 in value/core/s-expression.rb

meth_set_cdr! ( _loc ,
  _env ,
  _event ,
  cdr )

Cons#meth_is_equal / 4

#381 in value/core/s-expression.rb

meth_is_equal ( loc ,
  env ,
  event ,
  other )

Cons#__to_string__ / 2

#394 in value/core/s-expression.rb

__to_string__ ( cons ,
  visiteds = {} )

Cons#__pretty_print__ / 2

#433 in value/core/s-expression.rb

__pretty_print__ ( q ,
  cons )