Fix AST generation
Fix AST generation

- Base and BaseString were displaying as All and Any
- Any, All and Filter were not using index variables
- Loop constructs could use predefined variables as loop variables
- Only while loops should reserve a variable for their condition
- Switch was throwing exceptions

somebody1234/Charcoal