class

Rime::Token

Inherits Reference < Object

Constructors

new(type : Symbol = :EMPTY, value : String = "", line_number : Int32 = 1)
Source

Instance methods

line_number
Source
line_number=(line_number : Int32)
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source
type
Source
type=(type : Symbol)
Source
value
Source
value=(value : String)
Source