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
I'm not sure how to use Token.Sequence() like Token.EqualTo(). Can you provide an example? I'm trying to do this:
public static TokenListParser<MyToken, int> MySpecialNumber = Token.Sequence(MyToken.Number, MyToken.Word).Apply(Numerics.IntegerInt32);
but it fails because the text parser can't take a series of tokens. What is a valid use case for this method or what kind of parser do i have to create to use Apply?
The text was updated successfully, but these errors were encountered:
Hello,
I'm not sure how to use
Token.Sequence()
likeToken.EqualTo()
. Can you provide an example? I'm trying to do this:but it fails because the text parser can't take a series of tokens. What is a valid use case for this method or what kind of parser do i have to create to use
Apply
?The text was updated successfully, but these errors were encountered: