Class: Vertigo::ArrayDecl
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#dim_decls ⇒ Object
Returns the value of attribute dim_decls.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(dim_decls = [], type = nil) ⇒ ArrayDecl
constructor
A new instance of ArrayDecl.
Methods inherited from AstNode
Constructor Details
#initialize(dim_decls = [], type = nil) ⇒ ArrayDecl
Returns a new instance of ArrayDecl.
379 380 381 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 379 def initialize dim_decls=[],type=nil @dim_decls,@type=dim_decls,type end |
Instance Attribute Details
#dim_decls ⇒ Object
Returns the value of attribute dim_decls.
378 379 380 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 378 def dim_decls @dim_decls end |
#type ⇒ Object
Returns the value of attribute type.
378 379 380 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 378 def type @type end |