struct

Noir::ScalaToken

Inherits Struct < Value < Object

A single token produced by ScalaLexer#tokens. start/end are character indices into the original source (end exclusive); line is the 1-based line of start.

Constructors

new(kind : Symbol, value : String, start : Int32, end __arg0 : Int32, line : Int32)
Source

Instance methods

kind
Source
line
Source
start
Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source
value
Source