void () { if (myBuilder.eof()) { return; } final IElementType type = myBuilder.getTokenType(); boolean eolElement = YAMLElementTypes.EOL_ELEMENTS.contains(type); eolSeen = eolSeen || eolElement; if (eolElement) { // Drop and create new eolMarker myAfterLastEolMarker = mark(); myIndent = 0; } else if (type == INDENT) { myIndent = getCurrentTokenLength(); } else { // Drop Eol Marker if other token seen dropEolMarker(); } myBuilder.advanceLexer(); }