Obelisk::ContextConditions
Utilities for creating common context conditions
Class methods
Combine multiple conditions with AND logic
Combine multiple conditions with OR logic
Create condition that checks context data
Create condition that checks look-ahead text
Create condition that checks if we're in a specific state
nesting_level_equals(level : Int32, open_types : Array(TokenType), close_types : Array(TokenType)) : Proc(ParsingContext, Bool)
Create condition that checks nesting level
Create condition that checks if NOT in a specific state
Create condition that checks look-behind text