abstract class Noir::Lexer

Included Modules

Direct Known Subclasses

Defined in:

noir/lexer.cr

Constant Summary

MAX_NULL_SCANS = 5

Constructors

Class Method Summary

Instance Method Summary

Class methods inherited from module Noir::Tokens

each_token(&) each_token

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.aliases(aliases : Array(String)) #

[View source]
def self.aliases #

[View source]
def self.append(name, &) #

[View source]
def self.filenames(filenames : Array(String)) #

[View source]
def self.filenames #

[View source]
def self.mimetypes(mimetypes : Array(String)) #

[View source]
def self.mimetypes #

[View source]
def self.prepend(name, &) #

[View source]
def self.state(name : Symbol) #

[View source]
def self.state(name : Symbol, &) #

[View source]
def self.tag(tag : String) #

[View source]
def self.tag : String #

[View source]
def self.tag? : String | Nil #

[View source]

Instance Method Detail

def current_state #

[View source]
def lex_all(input : String, output : Formatter) #

[View source]
def stack : Deque(Noir::Lexer::State) #

[View source]
def state(name) #

[View source]