addLexer

fun addLexer(lexer: A_Lexer)

Add an A_Lexer. Update not just the current lexing information for this loader, but also the specified atom's bundle's method and the current module.

This must be called as an L1-safe task, which precludes execution of Avail code while it's running. That does not preclude other non-Avail code from running (i.e., other L1-safe tasks), so this method is synchronized to achieve that safety.

Parameters

lexer

The A_Lexer to add.