C# Class Spring.Expressions.Parser.antlr.TokenCreator

A creator of Token object instances.

This class and it's sub-classes exists primarily as an optimization of the reflection-based mechanism(s) previously used exclusively to create instances of Token objects.

Since Lexers in ANTLR use a single Token type, each TokenCreator can create one class of Token objects (that's why it's not called TokenFactory).

Exibir arquivo Open project: spring-projects/spring-net Class Usage Examples

Public Methods

Method Description
Create ( ) : IToken

Constructs a Token instance.

Method Details

Create() public abstract method

Constructs a Token instance.
public abstract Create ( ) : IToken
return IToken