class

Crass::Token

Inherits Reference < Object

Constructors

Instance methods

add(char, line, column)
Source
column
Source
column=(column : Int32)
Source
empty?
Source
line
Source
line=(line : Int32)
Source
string
Source
to_s(debug = false)

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