Add a way for statements nodes to be internal in Painless #51836
Labels
:Core/Infra/Scripting
Scripting abstractions, Painless, and Mustache
>refactoring
Team:Core/Infra
Meta label for core/infra team
All statement nodes in Painless contain a Location object that describes information about what generated the statement including a character offset and possibly a source code snippet. Currently, during ASM writing we check to ensure there are no statement offsets that collide with each other with an assert. We need a way to mark a statement as internal since we are going to decorate the ir tree with statements generated by code as opposed to a user. Collision detection can then ignore any internal statements.
Relates to: #49869
The text was updated successfully, but these errors were encountered: