sesaparcours
    Preparing search index...

    Type Alias InfixEntry

    InfixEntry: BaseEntry & Trigger & {
        associativity?: "right" | "left" | "non" | "both";
        kind: "infix";
        parse?: string | InfixParseHandler;
        precedence?: Precedence;
    }

    Type Declaration

    • Optionalassociativity?: "right" | "left" | "non" | "both"
      • both: a + b + c +(a, b, c)

      • left: a / b / c -> /(/(a, b), c)

      • right: a = b = c -> =(a, =(b, c))

      • non: a < b < c -> syntax error

      • a both-associative operator has an unlimited number of arguments

      • a left, right or non associative operator has at most two arguments

    • kind: "infix"

      Infix position, with an operand before and an operand after: a ⊛ b.

      Example: +, \times.

    • Optionalparse?: string | InfixParseHandler
    • Optionalprecedence?: Precedence