Determines whether a token can be used as a parameter in expressions.
This function helps the parser validate parameter lists by checking if
a token type is allowed in parameter contexts. Parameters can include
identifiers, numbers, and other value-bearing tokens, but not structural
tokens like semicolons or braces.
Determines whether a token can be used as a parameter in expressions.
This function helps the parser validate parameter lists by checking if a token type is allowed in parameter contexts. Parameters can include identifiers, numbers, and other value-bearing tokens, but not structural tokens like semicolons or braces.