5 /*ANTLR Translator Generator
6 * Project led by Terence Parr at http://www.jGuru.com
7 * Software rights: http://www.antlr.org/license.html
13 // ANTLR C# Code Generator by Micheal Jordan
14 // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com
15 // Anthony Oguntimehin
19 /// A creator of Token object instances.
23 /// This class and it's sub-classes exists primarily as an optimization
24 /// of the reflection-based mechanism(s) previously used exclusively to
25 /// create instances of Token objects.
28 /// Since Lexers in ANTLR use a single Token type, each TokenCreator can
29 /// create one class of Token objects (that's why it's not called TokenFactory).
32 public abstract class TokenCreator
35 /// Returns the fully qualified name of the Token type that this
38 public abstract string TokenTypeName
44 /// Constructs a <see cref="Token"/> instance.
46 public abstract IToken
Create();