class Merlin::Parser(IdentT, NodeT)

Included Modules

Defined in:

parser/parser.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

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

[View source]
def reference_recursion_limit : Int32 #

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

[View source]