Step 5 of the JavaScript Builder specification's process takes the session
id and the sequence from the Sequence Element's Element Data, and where there
is no Sequence Element renders the sequence as 1 and the session id as an
empty string, whatever the evidence holds. Both sides of that branch are
tested here, and so is the source the values are read from, because the
builder used to read them from Evidence instead.
| render |
( |
| evidence, |
|
|
| sequence_element = False, |
|
|
| stand_in = None ) |
Render the script from a pipeline that differs only in which Sequence
Element it holds, if any. The real JSON bundler refuses a pipeline with no
sequence number, so a stand-in gives the builder its JSON.