C# 클래스 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).

파일 보기 프로젝트 열기: spring-projects/spring-net 1 사용 예제들

공개 메소드들

메소드 설명
Create ( ) : IToken

Constructs a Token instance.

메소드 상세

Create() 공개 추상적인 메소드

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