Module lib_ruby_parser::token_rewriter[][src]

Expand description

Module to perform token rewriting

Structs

TokenRewriter

Token rewriter struct, can be used to rewrite tokens on the fly

TokenRewriterResult

Output of the token rewriter

Enums

LexStateAction

Enum of what token rewriter should do with the state of the lexer

RewriteAction

Enum of what token rewriter should do with a token.

Type Definitions

TokenRewriterFn

Token rewriter function