enum
Noir::TopLevelSplit::Escape
Overview
How a backslash is treated.
InQuotes consumes the backslash AND the following character as part of
the quoted run, and RETAINS the backslash in the emitted part — verified
against the implementations being replaced (e.g. drogon/httplib/oatpp
split_top_level_args, which append the char first and only then decide
whether it was an escape). Callers re-parse the literal themselves, so
stripping the backslash here would have silently changed every route
string that contained an escaped quote.
Defined in:
utils/top_level_split.crEnum Members
-
None =
0 -
InQuotes =
1 -
Always =
2
Instance Method Summary
-
#always?
Returns
trueif this enum value equalsAlways -
#in_quotes?
Returns
trueif this enum value equalsInQuotes -
#none?
Returns
trueif this enum value equalsNone