Enum quoted_string::test_utils::TestParsingImpl [−][src]
a parsing implementations which allows non semantic stange thinks in it for testing purpose
basically you can have a non-semantic section starting with ← ending with → which has
a number of + followed by the same number of -.
E.g. "some think \n+++---\n"
This naturally makes no sense, but is a simple way to test if the custom state is used correctly, there are some quoted string impl which need custom state as they can e.g. have non semantic soft line brakes (which are slight more complex to implement and less visible in error messages, so I used this think here)
Variants
StrangeInc(usize)StrangeDec(usize)
Trait Implementations
impl Copy for TestParsingImpl[src]
impl Copy for TestParsingImplimpl Clone for TestParsingImpl[src]
impl Clone for TestParsingImplfn clone(&self) -> TestParsingImpl[src]
fn clone(&self) -> TestParsingImplReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Eq for TestParsingImpl[src]
impl Eq for TestParsingImplimpl PartialEq for TestParsingImpl[src]
impl PartialEq for TestParsingImplfn eq(&self, other: &TestParsingImpl) -> bool[src]
fn eq(&self, other: &TestParsingImpl) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &TestParsingImpl) -> bool[src]
fn ne(&self, other: &TestParsingImpl) -> boolThis method tests for !=.
impl Debug for TestParsingImpl[src]
impl Debug for TestParsingImplfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Hash for TestParsingImpl[src]
impl Hash for TestParsingImplfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl ParsingImpl for TestParsingImpl[src]
impl ParsingImpl for TestParsingImplfn can_be_quoted(bch: PartialCodePoint) -> bool[src]
fn can_be_quoted(bch: PartialCodePoint) -> boolfn handle_normal_state(
bch: PartialCodePoint
) -> Result<(State<Self>, bool), CoreError>[src]
fn handle_normal_state(
bch: PartialCodePoint
) -> Result<(State<Self>, bool), CoreError>fn advance(
&self,
pcp: PartialCodePoint
) -> Result<(State<Self>, bool), CoreError>[src]
fn advance(
&self,
pcp: PartialCodePoint
) -> Result<(State<Self>, bool), CoreError>Auto Trait Implementations
impl Send for TestParsingImpl
impl Send for TestParsingImplimpl Sync for TestParsingImpl
impl Sync for TestParsingImpl