예제 #1
0
파일: TokenType.cs 프로젝트: jkiss1973/FECT
 public static void Register(TokenType type)
 {
     try
     {
         TokenTypeList.Add(type);
     }
     catch
     {
         throw new FECTException(Phase.TOKENIZER,ExceptionStength.FATAL,"Cannot register token");
     }
 }
예제 #2
0
파일: TokenType.cs 프로젝트: jkiss1973/FECT
 public static void RegisterDefault(TokenType type)
 {
     DefaultTokenType = type;
     TokenTypes.Register(type);
 }