Class: Wool::SexpAnalysis::Symbol

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#class_usedObject

Returns the value of attribute class_used

Returns:

  • (Object)

    the current value of class_used



5
6
7
# File 'lib/wool/analysis/symbol.rb', line 5

def class_used
  @class_used
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/wool/analysis/symbol.rb', line 5

def name
  @name
end

#protocolObject

Returns the value of attribute protocol

Returns:

  • (Object)

    the current value of protocol



5
6
7
# File 'lib/wool/analysis/symbol.rb', line 5

def protocol
  @protocol
end

#scopeObject

Returns the value of attribute scope

Returns:

  • (Object)

    the current value of scope



5
6
7
# File 'lib/wool/analysis/symbol.rb', line 5

def scope
  @scope
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



5
6
7
# File 'lib/wool/analysis/symbol.rb', line 5

def value
  @value
end