class Merlin::Parser(IdentT, NodeT)

Included Modules

Defined in:

parser/parser.cr

Constructors

Instance Method Summary

Instance methods inherited from module Merlin::ParserLogic(IdentT, NodeT)

parse(parsing_tokens : Array(MatchedToken(IdentT))) : NodeT parse

Instance methods inherited from module Merlin::Tokenizer(IdentT)

tokenize(str : String, filename : String | Nil = nil) : Array(MatchedToken(IdentT)) tokenize

Constructor Detail

def self.new(root : Group(IdentT, NodeT), groups : Hash(IdentT, Group(IdentT, NodeT)) = Hash(IdentT, Group(IdentT, NodeT)).new, tokens : Hash(IdentT, Merlin::Token(IdentT)) = Hash(IdentT, Token(IdentT)).new, reference_recursion_limit : Int32 = 1024) #

[View source]

Instance Method Detail

def cache #

[View source]
def debugger : Debugger(IdentT, NodeT) #

def debugger=(debugger : Debugger(IdentT, NodeT)) #

[View source]
def debugger? : Debugger(IdentT, NodeT) | Nil #

def groups : Hash(IdentT, Group(IdentT, NodeT)) #

[View source]
def parsing_position : Int32 #

[View source]
def parsing_queue #

[View source]
def parsing_tokens #

[View source]
def reference_recursion_limit : Int32 #

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

[View source]
def root : Group(IdentT, NodeT) #

[View source]
def tokens : Hash(IdentT, Token(IdentT)) #

[View source]