lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Go to the documentation of this file. 1 #ifndef LIB_RUBY_PARSER_PARSER_RESULT_HPP
2 #define LIB_RUBY_PARSER_PARSER_RESULT_HPP
54 #endif // LIB_RUBY_PARSER_PARSER_RESULT_HPP
CommentList comments
List of comments.
Definition: parser_result.hpp:27
Equivalent of Vec<lib_ruby_parser::Token>
Definition: token.hpp:40
MagicCommentList magic_comments
List of magic comments.
Definition: parser_result.hpp:30
Equivalent of lib_ruby_parser::ParserResult
Definition: parser_result.hpp:14
ParserResult(const ParserResult &)=delete
DiagnosticList diagnostics
List of diagnostics (errors/warnings)
Definition: parser_result.hpp:24
DecodedInput input
Definition: parser_result.hpp:42
Node * ast
Final AST, nullable.
Definition: parser_result.hpp:18
Definition: nodes.hpp:4238
ParserResult & operator=(ParserResult const &)=delete
Equivalent of Vec<lib_ruby_parser::Diagnostic
Definition: diagnostic.hpp:47
TokenList tokens
List of tokens, empty if parser_options.record_tokens was set to false.
Definition: parser_result.hpp:21