public static void Register(TokenType type) { try { TokenTypeList.Add(type); } catch { throw new FECTException(Phase.TOKENIZER,ExceptionStength.FATAL,"Cannot register token"); } }
public static void RegisterDefault(TokenType type) { DefaultTokenType = type; TokenTypes.Register(type); }