Class: Crokus::ArrayOrStructInit

Inherits:
Expr
  • Object
show all
Defined in:
lib/crokus/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ast

#accept, #str

Constructor Details

#initialize(elements = []) ⇒ ArrayOrStructInit

Returns a new instance of ArrayOrStructInit.



415
416
417
# File 'lib/crokus/ast.rb', line 415

def initialize elements=[]
  @elements=elements
end

Instance Attribute Details

#elementsObject

Returns the value of attribute elements.



414
415
416
# File 'lib/crokus/ast.rb', line 414

def elements
  @elements
end