Class: SbuilderSexp::IntegerValue

Inherits:
SimpleExpression show all
Defined in:
lib/parser/parser_nodes.rb

Instance Method Summary collapse

Methods inherited from SimpleExpression

#lhs_node

Methods inherited from AbstactExpression

#expression_postfix, #expression_prefix, #expressions, #has_rhs, #lhs_node, #node_value, #rhs_node, #traverse

Methods inherited from Treetop::Runtime::SyntaxNode

#node_type, #node_value, #recursive_inject, #recursive_inject_parent, #recursive_select, #value

Instance Method Details

#expression_valObject



846
847
848
849
# File 'lib/parser/parser_nodes.rb', line 846

def expression_val
  retun 0 if text_value.nil?
  text_value.to_i
end