class Taro::Compiler::Analyzer

Defined in:

compiler/lexer/analyzer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(source : IO) #

[View source]

Instance Method Detail

def buffer : IO::Memory #

[View source]
def buffer=(buffer : IO::Memory) #

[View source]
def buffer_value #

[View source]
def current_char : Char #

[View source]
def current_char=(current_char : Char) #

[View source]
def finished? : Bool #

[View source]
def peek_char : Char #

[View source]
def pos : Int32 #

[View source]
def pos=(pos : Int32) #

[View source]
def read_char(save_in_buffer = true) : Char #

[View source]
def skip_last_char #

Remove the last-read character from the buffer, effectively skipping it.


[View source]
def source : IO #

[View source]
def source=(source : IO) #

[View source]