# Class Parser.LR.Priority

Description

  Specifies the priority and associativity of a rule.

Variable assoc

  ``int` Parser.LR.Priority.assoc`

Description

  Associativity

  ``-1`` | Left
  ``0`` | None
  ``1`` | Right

Variable value

  ``int` Parser.LR.Priority.value`

Description

  Priority value

Method create

  `Parser.LR.Priority Parser.LR.Priority(`int` `p`, `int` `a`)`

Description

  Create a new priority object.

Parameter `p`

  Priority.

Parameter `a`

  Associativity.