class RedParse::Nodes::ExprNode

Attributes

data[R]
unwrap[R]

Public Class Methods

new(*data) click to toggle source
# File lib/redparse/babynodes.rb, line 80
def initialize(*data)
  @data=data
end

Public Instance Methods

parsetree() click to toggle source
# File lib/redparse/babynodes.rb, line 88
def parsetree
  "wrong(#{inspect})"
end
parsetrees(list) click to toggle source
# File lib/redparse/babynodes.rb, line 92
def parsetrees list
  !list.empty? and list.map{|node| node.parsetree}
end
to_parsetree() click to toggle source
# File lib/redparse/babynodes.rb, line 87
def to_parsetree; [parsetree] end