class Merlin::Parser(IdentT, NodeT)
- Merlin::Parser(IdentT, NodeT)
- Reference
- Object
Included Modules
- Merlin::ParserIgnores(IdentT, NodeT)
- Merlin::ParserLogic(IdentT, NodeT)
- Merlin::ParserValidator(IdentT, NodeT)
- Merlin::Tokenizer(IdentT)
Defined in:
parser/parser.crConstructors
Instance Method Summary
- #cache
- #debugger : Debugger(IdentT, NodeT)
- #debugger=(debugger : Debugger(IdentT, NodeT))
- #debugger? : Debugger(IdentT, NodeT) | Nil
- #groups : Hash(IdentT, Group(IdentT, NodeT))
- #parsing_position : Int32
- #parsing_queue
- #parsing_tokens
- #reference_recursion_limit : Int32
- #reference_recursion_limit=(reference_recursion_limit : Int32)
- #root : Group(IdentT, NodeT)
- #tokens : Hash(IdentT, Token(IdentT))
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)
#