Boa: terminology - replace "statements" property in StatementList struct with "statement_list_items"

Created on 10 Oct 2020  路  5Comments  路  Source: boa-dev/boa

This term will be more compliant with the standard.

These items can be both statements and declarations.

Most helpful comment

I鈥檓 ok with just items

All 5 comments

Could u send a spec link?

In the case we change this, I would just call it items.

I鈥檓 ok with just items

I'm going to work on this - do we want to change the statements() method in the impl or just the property?

Personally I think that it should be changed, since it could contain declarations.

Was this page helpful?
0 / 5 - 0 ratings