class RuboCop::AST::NodePattern::Lexer
def emit(type)
-
(token)
-
def emit(type) value = ss[1] || ss.matched value = yield value if block_given? token = token(type, value) @tokens << token token end
(token)
-
def emit(type) value = ss[1] || ss.matched value = yield value if block_given? token = token(type, value) @tokens << token token end