class Aero::Template::Lexer

Defined in:

template/lexer.cr

Constant Summary

OP_SYMBOLS = {'+', '-', '*', '/', '^', '%', '=', '!', '<', '>'}

Constructors

Instance Method Summary

Constructor Detail

def self.new(input : String) #

[View source]

Instance Method Detail

def current_char : Char #

[View source]
def next_char : Char #

[View source]
def next_token : Nil #

[View source]
def peek_char : Char #

[View source]
def position : Int32 #

[View source]
def read_bool_or_ident : Nil #

[View source]
def read_ident : Nil #

[View source]
def read_null_or_ident : Nil #

[View source]
def read_number : Nil #

[View source]
def read_operator : Nil #

[View source]
def read_string : Nil #

[View source]
def read_whitespace : Nil #

[View source]
def reader : Char::Reader #

[View source]
def reader=(reader : Char::Reader) #

[View source]
def run : Array(Token) #

[View source]
def string : String #

[View source]
def token : Token #

[View source]
def token=(token : Token) #

[View source]