Class: IDL::Scanner::Identifier

Inherits:
String
  • Object
show all
Defined in:
lib/ridl/scanner.rb

Overview

string derivative for IDL parsed identifiers able to carry both ‘raw’ IDL name as well as language mapped name

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(idl_id, checked_id) ⇒ Identifier

Returns a new instance of Identifier.



216
217
218
219
# File 'lib/ridl/scanner.rb', line 216

def initialize(idl_id, checked_id)
  super(idl_id)
  @checked_name = checked_id
end

Instance Attribute Details

#checked_nameObject (readonly)

Returns the value of attribute checked_name.



215
216
217
# File 'lib/ridl/scanner.rb', line 215

def checked_name
  @checked_name
end