Class: Wool::SexpAnalysis::Symbol
- Inherits:
-
Struct
- Object
- Struct
- Wool::SexpAnalysis::Symbol
- Includes:
- Comparable
- Defined in:
- lib/wool/analysis/symbol.rb
Overview
This class represents a Symbol in Ruby. It may have a known protocol (type), class, value (if constant!), and a variety of other details.
Instance Attribute Summary collapse
-
#class_used ⇒ Object
Returns the value of attribute class_used.
-
#name ⇒ Object
Returns the value of attribute name.
-
#protocol ⇒ Object
Returns the value of attribute protocol.
-
#scope ⇒ Object
Returns the value of attribute scope.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#class_used ⇒ Object
Returns the value of attribute class_used
5 6 7 |
# File 'lib/wool/analysis/symbol.rb', line 5 def class_used @class_used end |
#name ⇒ Object
Returns the value of attribute name
5 6 7 |
# File 'lib/wool/analysis/symbol.rb', line 5 def name @name end |
#protocol ⇒ Object
Returns the value of attribute protocol
5 6 7 |
# File 'lib/wool/analysis/symbol.rb', line 5 def protocol @protocol end |
#scope ⇒ Object
Returns the value of attribute scope
5 6 7 |
# File 'lib/wool/analysis/symbol.rb', line 5 def scope @scope end |
#value ⇒ Object
Returns the value of attribute value
5 6 7 |
# File 'lib/wool/analysis/symbol.rb', line 5 def value @value end |