ruby-parser 0.0.0-dev1

A parser for the Ruby language
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// Represents the delimiter type of a heredoc
#[derive(Debug, PartialEq, Copy, Clone)]
pub(crate) enum HeredocQuoteType {
    Unquoted,
    SingleQuoted,
    DoubleQuoted,
    CommandQuoted,
}

/// Represents the indentation mode of a heredoc
#[derive(Debug, PartialEq, Copy, Clone)]
pub(crate) enum HeredocIndentation {
    Unindented,
    Indented,
    FullyIndented,
}