예제 #1
0
 /// <summary>
 /// Create a Dragon BASIC tokenizer.
 /// </summary>
 /// <param name="dialect">Specify a variation of the standard Dragon BASIC.</param>
 public DragonBasicTokenizer(DragonBasicDialect dialect = DragonBasicDialect.None)
 {
     Add(new DragonBasicTokens());
     if ((dialect & DragonBasicDialect.DragonDos) != 0)
     {
         Add(new DragonDosTokens());
     }
 }
 /// <summary>
 /// Create a Dragon BASIC tokenizer.
 /// </summary>
 /// <param name="dialect">Specify a variation of the standard Dragon BASIC.</param>
 public DragonBasicTokenizer(DragonBasicDialect dialect = DragonBasicDialect.None)
 {
     Add(new DragonBasicTokens());
     if ((dialect & DragonBasicDialect.DragonDos) != 0)
         Add(new DragonDosTokens());
 }