Kaydet (Commit) 9486dd06 authored tarafından Michael Stahl's avatar Michael Stahl

i18npool: why not document the state transitions

Change-Id: Ica5789dab22a49efb9e2da3a795e13aa7e2c4339
üst 331a0a34
......@@ -75,16 +75,16 @@ private:
enum ScanState
{
ssGetChar,
ssGetValue,
ssGetWord,
ssGetWordFirstChar,
ssGetString,
ssGetBool,
ssRewindFromValue,
ssIgnoreLeadingInRewind,
ssStopBack,
ssBounce,
ssGetChar, // initial state; -> ssBounce, ssGetValue, ssRewindFromValue, ssGetWord, ssGetWordFirstChar, ssGetString, ssGetBool, ssStop
ssGetValue, // -> ssBounce, ssRewindFromValue, ssStopBack, ssGetWord
ssGetWord, // -> ssBounce, ssStop, ssStopBack
ssGetWordFirstChar, // -> ssBounce, ssGetWord, ssStop, ssStopBack
ssGetString, // -> ssBounce, ssStop
ssGetBool, // -> ssBounce, ssStop, ssStopBack
ssRewindFromValue, // -> ssBounce, ssGetValue, ssGetWord, ssGetWordFirstChar, ssGetString, ssGetBool, ssStop, ssIgnoreLeadingInRewind
ssIgnoreLeadingInRewind, // -> ssBounce, ssGetValue, ssRewindFromValue, ssGetWord, ssGetWordFirstChar, ssGetString, ssGetBool, ssStop
ssStopBack, // -> ssStop
ssBounce, // -> ssStopBack
ssStop
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment