Skip to main content

computed_field_binding

Function computed_field_binding 

Source
pub fn computed_field_binding(index: usize, is_static: bool) -> String
Expand description

The binding a computed field key is stored in.

js_atom_concat_num(ctx, JS_ATOM_computed_field + is_static, n) produces computed_field0/computed_field_static0; the dump prints them as <computed_field>0 and <computed_field_static>0, which is the reference’s own bracket convention for a hidden name.