C# Class Parrot.Lexer.TokenFactory

Mostra file Open project: ParrotFx/Parrot Class Usage Examples

Public Methods

Method Description
Create ( TokenType type ) : Token
Create ( char token ) : Token

Private Methods

Method Description
createInstance ( Type tokenType ) : Token

Method Details

Create() public static method

public static Create ( TokenType type ) : Token
type TokenType
return Token

Create() public static method

public static Create ( char token ) : Token
token char
return Token