You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since EndOFFileTrivia no longer exists, ParseResult should collect any remaining trivia at the end of the input, and include it in the ParseResult returned, for any kind of non-terminal, not just SourceUnit.
as discussed in #617:
ProductionKindcompletely, since it is no longer needed. We only need to exposefn parse(NonTerminalKind): Clean up precedence parser codegen since DSL v2 #699TokenKindtoTerminalKind, since it will also refer to trivia. (Consider Rule/Token => Nonterminal/Terminal rename #834)RuleKindtoNonTerminalKind, since "rule" is ambiguous. (Consider Rule/Token => Nonterminal/Terminal rename #834)TerminalKind::SKIPPEDfromTerminalKind, and add newNode::Unrecognized(string)andNode::Missing(kind)variants instead. (Distinguish between unrecognized and missing input in the CST when recovering parse #835)LexicalContextandfn scan(TokenKind)from the public API: Hide Lexer-related facilities from the public API #728EndOFFileTriviano longer exists,ParseResultshould collect any remaining trivia at the end of the input, and include it in theParseResultreturned, for any kind of non-terminal, not justSourceUnit.RuleKindfor it #737