8d3642e200
This allows us to roll the Parser back to an earlier state if we need to do so. This includes: - rewinding the lexer - restoring the previous Pushback node - backing out AST nodes - backing out errors This functionality is used to back out of parsing a vardecl if we discover mid-stream that it is actually an expression statement that coincidentally starts with the name of a type. Change-Id: Ia5feb45019693931c1e6870e3ff7a5398924c863 Bug: skia:11198 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/356997 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Auto-Submit: John Stiles <johnstiles@google.com> |
||
---|---|---|
.. | ||
golden | ||
BoolFolding.sksl | ||
FloatFolding.sksl | ||
IntFolding.sksl | ||
MatrixFolding.sksl | ||
ShortCircuitBoolFolding.sksl | ||
VectorScalarFolding.sksl | ||
VectorVectorFolding.sksl |