Struct lib_ruby_parser::token_rewriter::TokenRewriter[][src]

pub struct TokenRewriter { /* fields omitted */ }
Expand description

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

Implementations

Constructs a rewriter based on a given function

Constructs a no-op token rewriter that has no side effect. Default value.

Returns an optional reference to a function that rewrite tokens

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.