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.



411
412
413
# File 'lib/crokus/ast.rb', line 411

def initialize elements=[]
  @elements=elements
end

Instance Attribute Details

#elementsObject

Returns the value of attribute elements.



410
411
412
# File 'lib/crokus/ast.rb', line 410

def elements
  @elements
end