public Fixity getFixity ( ) { switch ( associativity ) { case FX : case FY : return Fixity . Pre ; case XF : case YF : return Fixity . Post ; case XFX : case XFY : case YFX : return Fixity . In ; default : throw new IllegalStateException ( "Unknown associativity." ) ; } }
Provides the symbols fixity derived from its associativity .