Class: Purple::Infix::PrecedenceTable::Operator

Inherits:
Struct
  • Object
show all
Defined in:
lib/purple/infix.rb

Instance Attribute Summary collapse

Instance Attribute Details

#associativityObject

Returns the value of attribute associativity

Returns:

  • (Object)

    the current value of associativity



15
16
17
# File 'lib/purple/infix.rb', line 15

def associativity
  @associativity
end

#precedenceObject

Returns the value of attribute precedence

Returns:

  • (Object)

    the current value of precedence



15
16
17
# File 'lib/purple/infix.rb', line 15

def precedence
  @precedence
end