Methods which implicitly propagate the context in which they were called: either in a pattern context or not.
Methods which implicitly propagate the context in which they were called: either in a pattern context or not. Formerly, this was threaded through numerous methods as boolean isPattern.
Methods which implicitly propagate whether the initial call took place in a context where sequences are allowed.
Methods which implicitly propagate whether the initial call took place in a context where sequences are allowed. Formerly, this was threaded through methods as boolean seqOK.
Consume one token of the specified type, or signal an error if it is not there.
Scoping operator used to temporarily look into the future.
Scoping operator used to temporarily look into the future. Backs up token iterator before evaluating a block and restores it after.
Deals with Scala 3 concept of
Deals with Scala 3 concept of
inline x match { ...
. Since matches can also be chained in Scala 3 we need to create the Match first and only then add the the inline modifier.
inline x match { ... }}} Scala 3 we need to create the Match first and only then add the the inline modifier.
The implementation for parsing inside of patterns at points where sequences are disallowed.
The implementation of the context sensitive methods for parsing outside of patterns.
Default entry points into some pattern contexts.
The implementation for parsing inside of patterns at points where sequences are allowed.
Hook for IDE, for top-level classes/objects.
These are default entry points into the pattern context sensitive methods: they are all initiated from non-pattern context.
For use from xml pattern, where sequence is allowed and encouraged.