Class: Vertigo::AttributeDecl
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(name = nil, type = nil) ⇒ AttributeDecl
constructor
A new instance of AttributeDecl.
Methods inherited from AstNode
Constructor Details
#initialize(name = nil, type = nil) ⇒ AttributeDecl
Returns a new instance of AttributeDecl.
190 191 192 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 190 def initialize name=nil,type=nil @name,@type=name,type end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
189 190 191 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 189 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
189 190 191 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 189 def type @type end |