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.
If current token is T consume it.
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.
Convert tree to formal parameter.
Convert tree to formal parameter list.
Methods inParensOrError and similar take a second argument which, should the next token not be the expected opener (e.g.
Methods inParensOrError and similar take a second argument which, should the next token not be the expected opener (e.g. token.LeftParen) will be returned instead of the contents of the groupers. However in all cases accept[LeftParen] will be called, so a parse error will still result. If the grouping is optional, token should be tested before calling these methods.
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.