Class: Citrus::GlobalVariable

Inherits:
Variable
  • Object
show all
Defined in:
lib/citrus/compiler/variable.rb

Instance Attribute Summary

Attributes inherited from Variable

#pointer, #type

Instance Method Summary collapse

Methods inherited from Variable

#assign, #value

Constructor Details

#initialize(name, value, mod, builder) ⇒ GlobalVariable

Returns a new instance of GlobalVariable.



63
64
65
66
67
# File 'lib/citrus/compiler/variable.rb', line 63

def initialize(name, value, mod, builder)
  @name = name
  @module = mod
  super(value, builder)   
end