rokucommunity / brighterscript

A superset of Roku's BrightScript language
MIT License
152 stars 47 forks source link

Remove block starting range #1224

Closed markwpearce closed 1 month ago

markwpearce commented 1 month ago

Removes the startingRange property on Blocks.

If a block is not empty, the range of a Block is the range of its statements

If the block is empty, the Block looks at its parent to see what the range should be, with specific logic for all the different types of nodes that can contain a block.