struct StateDoubleQuotedText {}Expand description
Represents being inside a double-quote string where filtering is essentially turned off until the end of the string is reached.
Transitions to the following states for the seen input:
- 
"- go to CurrentState::NormalText (end of a double-quoted string) - 
\- go to CurrentState::EscapedDoubleQuoteText (start of an escaped character) - 
StateChar::Eof- go to CurrentState::Done (no more input) 
Implementations§
source§impl StateDoubleQuotedText
 
impl StateDoubleQuotedText
sourcepub fn new() -> Box<dyn IStateBehavior>
 
pub fn new() -> Box<dyn IStateBehavior>
Constructor
Returns
Returns a new instance of the StateDoubleQuotedText struct as represented by the IStateBehavior trait.
Trait Implementations§
source§impl IStateBehavior for StateDoubleQuotedText
 
impl IStateBehavior for StateDoubleQuotedText
source§fn go_next(&mut self, context: &mut dyn IStateContext) -> CurrentState
 
fn go_next(&mut self, context: &mut dyn IStateContext) -> CurrentState
Process the next character from the context, returning the next
state the context should move to. Read more