Class/Module Index [+]

Quicksearch

RKelly::Nodes::VarDeclNode

Attributes

name[RW]
type[RW]

Public Class Methods

new(name, value, constant = false) click to toggle source
# File lib/rkelly/nodes/var_decl_node.rb, line 5
def initialize(name, value, constant = false)
  super(value)
  @name = name
  @constant = constant
end

Public Instance Methods

constant?() click to toggle source
# File lib/rkelly/nodes/var_decl_node.rb, line 11
def constant?; @constant; end
variable?() click to toggle source
# File lib/rkelly/nodes/var_decl_node.rb, line 12
def variable?; !@constant; end

[Validate]

Generated with the Darkfish Rdoc Generator 2.