Reduced usage of optional and wrapper in DSLParser

DSL API changes mean that we no longer need to be so heavy-handed with
wrapping statements and expressions. Not only does this simplify the
code, it's a significant performance improvement.

Change-Id: I26ed9701db8012448b67e1ca16328d4f8f04aa03
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/449037
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
2 files changed