Obelisk::RuleActions
Helper to create rule actions
Class methods
clear_combined(type : TokenType | Nil = nil) : RuleAction
Sourceclear_context(type : TokenType | Nil = nil) : RuleAction
Sourceconditional(condition : Proc(LexerState, Bool), true_action : RuleAction, false_action : RuleAction | Nil = nil) : RuleAction
Conditional actions
exit_include(type : TokenType | Nil = nil) : RuleAction
Sourcepop(type : TokenType | Nil = nil) : RuleAction
Sourcepush_and_combine(push_state : String, combine_state : String, type : TokenType | Nil = nil) : RuleAction
Compound actions
Context operations