Skip to content
On this page

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

class · Ruby 3.4

Prism::Token

< Object 5 instance methods 1 class methods

This represents a token from the Ruby source.

Class methods 1

Instance methods 5

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.