Skip to content
class method

Prism::Token.new

new(source, type, value, location)

Create a new token object with the given type, value, and location.

See also #== #deconstruct_keys also in 3.4 · 3.3