class Lisp::Atom
Attributes
value[R]
Public Instance Methods
all?(&block)
click to toggle source
# File lib/rubylisp/atom.rb, line 127 def all?(&block) false end
apply_to(args, env)
click to toggle source
# File lib/rubylisp/atom.rb, line 123 def apply_to(args, env) nil end
car()
click to toggle source
# File lib/rubylisp/atom.rb, line 139 def car nil end
cdr()
click to toggle source
# File lib/rubylisp/atom.rb, line 143 def cdr nil end
character?()
click to toggle source
# File lib/rubylisp/atom.rb, line 19 def character? false end
class?()
click to toggle source
# File lib/rubylisp/atom.rb, line 71 def class? false end
copy()
click to toggle source
# File lib/rubylisp/atom.rb, line 99 def copy self.class.new(self.value) end
doc()
click to toggle source
# File lib/rubylisp/atom.rb, line 166 def doc nil end
environment?()
click to toggle source
# File lib/rubylisp/atom.rb, line 91 def environment? false end
eof_object?()
click to toggle source
# File lib/rubylisp/atom.rb, line 87 def eof_object? false end
eq?(sexpr)
click to toggle source
# File lib/rubylisp/atom.rb, line 107 def eq?(sexpr) eqv?(sexpr) end
equal?(sexpr)
click to toggle source
# File lib/rubylisp/atom.rb, line 111 def equal?(sexpr) eq?(sexpr) end
eqv?(sexpr)
click to toggle source
# File lib/rubylisp/atom.rb, line 103 def eqv?(sexpr) self == sexpr end
evaluate(env)
click to toggle source
# File lib/rubylisp/atom.rb, line 119 def evaluate(env) self end
false?()
click to toggle source
# File lib/rubylisp/atom.rb, line 135 def false? false end
frame?()
click to toggle source
# File lib/rubylisp/atom.rb, line 75 def frame? false end
function?()
click to toggle source
# File lib/rubylisp/atom.rb, line 59 def function? false end
length()
click to toggle source
# File lib/rubylisp/atom.rb, line 95 def length 1 end
lisp_object?()
click to toggle source
# File lib/rubylisp/atom.rb, line 11 def lisp_object? true end
list?()
click to toggle source
# File lib/rubylisp/atom.rb, line 47 def list? false end
macro?()
click to toggle source
# File lib/rubylisp/atom.rb, line 63 def macro? false end
negative?()
click to toggle source
# File lib/rubylisp/atom.rb, line 35 def negative? false end
number?()
click to toggle source
# File lib/rubylisp/atom.rb, line 23 def number? false end
object?()
click to toggle source
# File lib/rubylisp/atom.rb, line 67 def object? false end
pair?()
click to toggle source
# File lib/rubylisp/atom.rb, line 43 def pair? false end
port?()
click to toggle source
# File lib/rubylisp/atom.rb, line 83 def port? false end
positive?()
click to toggle source
# File lib/rubylisp/atom.rb, line 27 def positive? false end
primitive?()
click to toggle source
# File lib/rubylisp/atom.rb, line 51 def primitive? false end
print_string()
click to toggle source
# File lib/rubylisp/atom.rb, line 159 def print_string self.to_s end
Also aliased as: print_string_helper
quoted()
click to toggle source
# File lib/rubylisp/atom.rb, line 147 def quoted Lisp::ConsCell.cons(Symbol.named("quote"), self) end
set!(v)
click to toggle source
# File lib/rubylisp/atom.rb, line 151 def set!(v) end
set_location(type, package, file, start, length)
click to toggle source
# File lib/rubylisp/atom.rb, line 7 def set_location(type, package, file, start, length) end
special?()
click to toggle source
# File lib/rubylisp/atom.rb, line 55 def special? false end
string?()
click to toggle source
# File lib/rubylisp/atom.rb, line 15 def string? false end
symbol?()
click to toggle source
# File lib/rubylisp/atom.rb, line 39 def symbol? false end
to_s()
click to toggle source
# File lib/rubylisp/atom.rb, line 154 def to_s @value.to_s end
true?()
click to toggle source
# File lib/rubylisp/atom.rb, line 131 def true? true end
type()
click to toggle source
# File lib/rubylisp/atom.rb, line 115 def type :unknown end
vector?()
click to toggle source
# File lib/rubylisp/atom.rb, line 79 def vector? false end
zero?()
click to toggle source
# File lib/rubylisp/atom.rb, line 31 def zero? false end