Class: Vertigo::Label

Inherits:
AstNode show all
Defined in:
lib/vertigo/ast_vertigo_rkgen.rb

Instance Attribute Summary collapse

Attributes inherited from AstNode

#label, #pos

Instance Method Summary collapse

Methods inherited from AstNode

#accept, #str

Constructor Details

#initialize(ident = nil) ⇒ Label

Returns a new instance of Label.



596
597
598
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 596

def initialize ident=nil
  @ident=ident
end

Instance Attribute Details

#identObject

Returns the value of attribute ident.



595
596
597
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 595

def ident
  @ident
end