Skip to content
On this page

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

class · Ruby 3.3

Prism::Token

< Object 3 instance methods 1 class methods

This represents a token from the Ruby source.

Class methods 1

Instance methods 3

Attributes
Read

A Location object representing the location of this token in the source.

Read

The type of token that this token is.

Read

A byteslice of the source that this token represents.