public static TokenListParser <TKind, T> Between <TKind, T>(this TokenListParser <TKind, T> parser, TKind left, TKind right) => parser.Between(Token.EqualTo(left), Token.EqualTo(right));
public static TokenListParser <FormulaToken, T> BetweenParenthesis <T>(this TokenListParser <FormulaToken, T> self) { return(self.Between(Token.EqualTo(FormulaToken.LeftParenthesis), Token.EqualTo(FormulaToken.RightParenthesis))); }
public static TokenListParser <LangToken, T> BetweenBraces <T>(this TokenListParser <LangToken, T> self) { return(self.Between(Token.EqualTo(LangToken.LeftBrace), Token.EqualTo(LangToken.RightBrace))); }
public static TokenListParser <CToken, T> BetweenParenthesis <T>(this TokenListParser <CToken, T> self) { return(self.Between(Token.EqualTo(CToken.LParen), Token.EqualTo(CToken.RParen))); }
public static TokenListParser <CToken, T> BetweenBraces <T>(this TokenListParser <CToken, T> self) { return(self.Between(Token.EqualTo(CToken.LBrace), Token.EqualTo(CToken.RBrace))); }
public static TokenListParser <TToken, TResult> Between <TToken, TResult>(this TokenListParser <TToken, TResult> self, TToken left, TToken right) { return(self.Between(Token.EqualTo(left), Token.EqualTo(right))); }