class RedParse::ListInNode::DotCallNode
Attributes
lvalue[W]
Public Instance Methods
image()
click to toggle source
# File lib/redparse/node.rb, line 2011 def image; '(.)' end
lvalue()
click to toggle source
# File lib/redparse/node.rb, line 2023 def lvalue return @lvalue if defined? @lvalue @lvalue=true end
parsetree(o)
click to toggle source
# File lib/redparse/node.rb, line 2017 def parsetree(o) cs=self[1] cs &&= cs.parsetree(o) cs.shift if cs.first==:vcall or cs.first==:fcall [:call, @data.first.parsetree(o), *cs] end
to_lisp()
click to toggle source
# File lib/redparse/node.rb, line 2013 def to_lisp "(#{receiver.to_lisp} #{@data.last.to_lisp[1...-1]})" end