class Crass::Token
- Crass::Token
- Reference
- Object
Defined in:
crass/token.crConstructors
Instance Method Summary
- #add(char, line, column)
- #column : Int32
- #column=(column : Int32)
- #empty?
- #line : Int32
- #line=(line : Int32)
- #string
-
#to_s(debug = false)
Returns a nicely readable and concise string representation of this object, typically intended for users.
Constructor Detail
Instance Method Detail
def to_s(debug = false)
#
Description copied from class Object
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
.