Class: Nendo::SyntacticClosure
- Inherits:
-
Object
- Object
- Nendo::SyntacticClosure
- Defined in:
- lib/nendo/ruby/types.rb
Instance Attribute Summary collapse
-
#originalSymbol ⇒ Object
readonly
Returns the value of attribute originalSymbol.
-
#renamedSymbol ⇒ Object
readonly
Returns the value of attribute renamedSymbol.
Instance Method Summary collapse
-
#initialize(originalSymbol, renamedSymbol) ⇒ SyntacticClosure
constructor
A new instance of SyntacticClosure.
- #intern ⇒ Object
- #lineno ⇒ Object
- #sourcefile ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(originalSymbol, renamedSymbol) ⇒ SyntacticClosure
Returns a new instance of SyntacticClosure.
233 234 235 236 |
# File 'lib/nendo/ruby/types.rb', line 233 def initialize( originalSymbol, renamedSymbol ) @originalSymbol = originalSymbol @renamedSymbol = renamedSymbol end |
Instance Attribute Details
#originalSymbol ⇒ Object (readonly)
Returns the value of attribute originalSymbol.
249 250 251 |
# File 'lib/nendo/ruby/types.rb', line 249 def originalSymbol @originalSymbol end |
#renamedSymbol ⇒ Object (readonly)
Returns the value of attribute renamedSymbol.
249 250 251 |
# File 'lib/nendo/ruby/types.rb', line 249 def renamedSymbol @renamedSymbol end |
Instance Method Details
#intern ⇒ Object
242 243 244 |
# File 'lib/nendo/ruby/types.rb', line 242 def intern @renamedSymbol end |
#lineno ⇒ Object
247 |
# File 'lib/nendo/ruby/types.rb', line 247 def lineno() 1 end |
#sourcefile ⇒ Object
246 |
# File 'lib/nendo/ruby/types.rb', line 246 def sourcefile() "dynamic S-expression ( no source )" end |
#to_s ⇒ Object
238 239 240 |
# File 'lib/nendo/ruby/types.rb', line 238 def to_s @renamedSymbol.to_s end |