Class: Elparser::AbstractSExp
- Inherits:
-
Object
- Object
- Elparser::AbstractSExp
show all
- Defined in:
- lib/elparser.rb
Instance Method Summary
collapse
Instance Method Details
#==(obj) ⇒ Object
17
18
19
|
# File 'lib/elparser.rb', line 17
def ==(obj)
self.class == obj.class && self.to_s == obj.to_s
end
|
#atom? ⇒ Boolean
8
9
10
|
# File 'lib/elparser.rb', line 8
def atom?
false
end
|
#cons? ⇒ Boolean
11
12
13
|
# File 'lib/elparser.rb', line 11
def cons?
false
end
|
#list? ⇒ Boolean
14
15
16
|
# File 'lib/elparser.rb', line 14
def list?
false
end
|
#to_ruby ⇒ Object
23
24
25
|
# File 'lib/elparser.rb', line 23
def to_ruby
raise "Not implemented!"
end
|
#visit ⇒ Object
20
21
22
|
# File 'lib/elparser.rb', line 20
def visit
raise "Not implemented!"
end
|