function parse_binary_dice(tokenList) {
    let left = parse_terminal(tokenList);
    if (tokenList.current === "d") {
        tokenList.advance();
        const right = parse_terminal(tokenList);
        left = [...left, ...right, "d"];
    }
    return left;
}
/**
 * Parses binary "d" operator
 */
Parses binary "d" operator
Parses binary " d " operator
function parse_binary_dice(tokenList) {
    let left = parse_terminal(tokenList);
    if (tokenList.current === "d") {
        tokenList.advance();
        const right = parse_terminal(tokenList);
        left = [...left, ...right, "d"];
    }
    return left;
}
function parse_binary_dice ( tokenList ) { let left = parse_terminal ( tokenList ) ; if ( tokenList . current === "d" ) { tokenList . advance ( ) ; const right = parse_terminal ( tokenList ) ; left = [ ... left , ... right , "d" ] ; } return left ; }
Parses binary "d" operator
Parses binary " d " operator