class Merlin::Parser(IdentT, NodeT)
- Merlin::Parser(IdentT, NodeT)
- Reference
- Object
Included Modules
Defined in:
parser/parser.crConstructors
Instance Method Summary
- #parse(parsing_tokens : Array(MatchedToken(IdentT))) : NodeT
- #reference_recursion_limit : Int32
- #reference_recursion_limit=(reference_recursion_limit : Int32)
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)
#