AbstractLexer: small code refactoring. Added new method scan_indentation