DocEnd
| 72 | |
| 73 | // DocEnd |
| 74 | void Scanner::ScanDocEnd() { |
| 75 | PopAllIndents(); |
| 76 | PopAllSimpleKeys(); |
| 77 | m_simpleKeyAllowed = false; |
| 78 | m_canBeJSONFlow = false; |
| 79 | |
| 80 | // eat |
| 81 | Mark mark = INPUT.mark(); |
| 82 | INPUT.eat(3); |
| 83 | m_tokens.push(Token(Token::DOC_END, mark)); |
| 84 | } |
| 85 | |
| 86 | // FlowStart |
| 87 | void Scanner::ScanFlowStart() { |