Class: Reggae::Bit

Inherits:
Struct
  • Object
show all
Includes:
Visitable
Defined in:
lib/reggae/ast.rb

Direct Known Subclasses

Bitfield

Instance Attribute Summary collapse

Method Summary

Methods included from Visitable

#accept

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



65
66
67
# File 'lib/reggae/ast.rb', line 65

def name
  @name
end

#positionObject

Returns the value of attribute position

Returns:

  • (Object)

    the current value of position



65
66
67
# File 'lib/reggae/ast.rb', line 65

def position
  @position
end

#purposeObject

Returns the value of attribute purpose

Returns:

  • (Object)

    the current value of purpose



65
66
67
# File 'lib/reggae/ast.rb', line 65

def purpose
  @purpose
end

#toggleObject

Returns the value of attribute toggle

Returns:

  • (Object)

    the current value of toggle



65
66
67
# File 'lib/reggae/ast.rb', line 65

def toggle
  @toggle
end