class Kaze::Scanner

Overview

A scanner that scans a file or line for tokens, parses and returns them.

Defined in:

scanner.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(source : String) #

[View source]

Instance Method Detail

def scan_tokens : Array(Token) | Nil #

Scans the file for tokens until the end of the file.


[View source]