struct

Merlin::MatchedToken(IdentT)

Inherits Struct < Value < Object

Constructors

new(name : IdentT, value : String, position : Position)
Source

Instance methods

clone
Source
copy_with(name _name = @name, value _value = @value, position _position = @position)
Source
name
position
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
value
value_position
Source