Class: Tomlrb::Parser
- Inherits:
-
GeneratedParser
- Object
- Racc::Parser
- GeneratedParser
- Tomlrb::Parser
- Defined in:
- lib/llm/shell/internal/tomlrb/lib/tomlrb/parser.rb
Constant Summary
Constants inherited from GeneratedParser
GeneratedParser::Racc_arg, GeneratedParser::Racc_debug_parser, GeneratedParser::Racc_token_to_s_table
Instance Method Summary collapse
-
#initialize(tokenizer, **options) ⇒ Parser
constructor
A new instance of Parser.
- #next_token ⇒ Object
- #parse ⇒ Object
Methods inherited from GeneratedParser
Constructor Details
Instance Method Details
#next_token ⇒ Object
13 14 15 |
# File 'lib/llm/shell/internal/tomlrb/lib/tomlrb/parser.rb', line 13 def next_token @tokenizer.next_token end |
#parse ⇒ Object
17 18 19 20 |
# File 'lib/llm/shell/internal/tomlrb/lib/tomlrb/parser.rb', line 17 def parse do_parse @handler end |