Skip to content
On this page
class · Ruby 4.0

Prism::Token

< Object 6 instance methods 1 class methods

This represents a token from the Ruby source.

Class methods 1

Instance methods 6

Attributes
Read

The Source object that represents the source this token came from.

Read

The type of token that this token is.

Read

A byteslice of the source that this token represents.