Farkle


ITransformer<'TSymbol> Type

An interface that transforms tokens from a CharStream. It is implemented by PostProcessor{TResult}s.

Instance members

Instance member Description

this.Transform

Full Usage: this.Transform

Parameters:
Returns: obj An object. It can be .
Modifiers: abstract

Converts a token into an object.

symbol : 'TSymbol

An object identifying the kind of the token.

context : ITransformerContext

A ITransformerContext object that provides more information about the token.

data : ReadOnlySpan<char>

A read-only span of the token's characters.

Returns: obj

An object. It can be .