'Return a CITDL expression preceding the given trigger.  This is the
JavaScript specialization; all it does is set array_as_attr to True.'

def citdl_expr_from_trg(self, buf, trg):

    DEBUG = False
    if (trg.form != TRG_FORM_DEFN):
        if (trg.type == 'array-members'):
            pos = (trg.extra.get('bracket_pos') - 1)
        else:
            pos = (trg.pos - 2)
        return self._citdl_expr_from_pos(buf, pos, implicit=trg.implicit, DEBUG=DEBUG, trg=trg, array_as_attr=True)
    return PythonCITDLExtractorMixin.citdl_expr_from_trg(self, buf, trg)
