struct Noir::CSharpToken

Overview

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

Defined in:

minilexers/csharp_lexer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(kind : Symbol, value : String, start : Int32, end __arg0 : Int32, line : Int32) #

[View source]

Instance Method Detail

def end : Int32 #

[View source]
def kind : Symbol #

[View source]
def line : Int32 #

[View source]
def start : Int32 #

[View source]
def to_s(io : IO) : Nil #
Description copied from struct Struct

Same as #inspect(io).


[View source]
def value : String #

[View source]