module IRB::Color
def dispatch_seq(token, expr, str, in_symbol:)
Experimental RBS support (using type sampling data from the type_fusion
project).
def dispatch_seq: (Symbol token, Ripper::Lexer::State expr, String str, in_symbol: nil) -> nil
This signature was generated using 2 samples from 1 application.
def dispatch_seq(token, expr, str, in_symbol:) if ERROR_TOKENS.include?(token) TOKEN_SEQ_EXPRS[token][0] elsif in_symbol [YELLOW] elsif TOKEN_KEYWORDS.fetch(token, []).include?(str) [CYAN, BOLD] elsif (seq, exprs = TOKEN_SEQ_EXPRS[token]; (expr & (exprs || 0)) != 0) seq else nil end end