class Funk::Reader

Defined in:

funk/syntax/reader.cr

Constant Summary

EOF = '\0'

Constructors

Instance Method Summary

Constructor Detail

def self.new(source : String) : Reader #

[View source]
def self.new(source : IO) #

[View source]

Instance Method Detail

def buffer : IO::Memory #

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

[View source]
def current : Char #

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

[View source]
def finalize! #

Fill the buffer


[View source]
def peek : Char #

[View source]
def pos : Int32 #

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

[View source]
def read_char : Char #

[View source]
def source : IO #

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

[View source]