lib-ruby-parser 3.0.11

Ruby parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
crate::use_native_or_external!(Maybe);

use super::ParserOptions;

const DEFAULT_BUFFER_NAME: &str = "(eval)";

impl Default for ParserOptions {
    fn default() -> Self {
        Self::new(
            DEFAULT_BUFFER_NAME.to_string().into(),
            Maybe::none(),
            Maybe::none(),
            true,
        )
    }
}