Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TokenCreator Class

A creator of Token object instances.

For a list of all members of this type, see TokenCreator Members .


[Visual Basic]
Public MustInherit Class TokenCreator
public abstract class TokenCreator

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


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).


Namespace: Spring.Expressions.Parser.antlr

Assembly: Spring.Core (in Spring.Core.dll)

See Also

TokenCreator Members | Spring.Expressions.Parser.antlr Namespace