added high-level lexer interfaces