This site describes solve-engine 2.44.0, the version npm installs.
parseRightOperand
function parseRightOperand( parselet, parser, builder): void;Defined in: packages/engine/src/parser/Parselet.ts:50
Parse the right operand of parselet at the power its associativity needs.
The parser’s infix loop stops when the next operator’s power is not above
the minimum it was given. Parsing the right operand at the operator’s own
power therefore stops at the next occurrence of it, and a chain groups
left; one below keeps consuming, and it groups right. A parselet that calls
this in place of parser.parseExpression(this.bindingPower, builder) gets
both behaviours from the one declaration.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
parselet | InfixParselet |
parser | PrecedenceParser |
builder | BytecodeBuilder |
Returns
Section titled “Returns”void