Class: Canopus::Language::Symbol

Inherits:
Data
  • Object
show all
Defined in:
lib/canopus/language/symbol.rb,
sig/canopus.rbs

Instance Attribute Summary collapse

Instance Attribute Details

#depth ⇒ Object (readonly)

Returns the value of attribute depth

Returns:

  • (Object) —

    the current value of depth



5
6
7
# File 'lib/canopus/language/symbol.rb', line 5

def depth
  @depth
end

#kind ⇒ Object (readonly)

Returns the value of attribute kind

Returns:

  • (Object) —

    the current value of kind



5
6
7
# File 'lib/canopus/language/symbol.rb', line 5

def kind
  @kind
end

#name ⇒ Object (readonly)

Returns the value of attribute name

Returns:

  • (Object) —

    the current value of name



5
6
7
# File 'lib/canopus/language/symbol.rb', line 5

def name
  @name
end

#range ⇒ Object (readonly)

Returns the value of attribute range

Returns:

  • (Object) —

    the current value of range



5
6
7
# File 'lib/canopus/language/symbol.rb', line 5

def range
  @range
end

#selection ⇒ Object (readonly)

Returns the value of attribute selection

Returns:

  • (Object) —

    the current value of selection



5
6
7
# File 'lib/canopus/language/symbol.rb', line 5

def selection
  @selection
end