| Extracted from Pike v7.8 release 866 at 2016-04-05.

[Top]
Parser
Parser.LR
Parser.LR.Parser

# Method Parser.LR.Parser()->set_associativity()

Method set_associativity

  `void set_associativity(string terminal, int assoc)`

Description

  Sets the associativity of a terminal.

Parameter `terminal`

  Terminal to set the associativity for.

Parameter `assoc`

  Associativity; negative - left, positive - right, zero - no associativity.