Esempio n. 1
0
 /// <summary>
 /// Called if a FileModel needs filtering
 /// - modify parsed model
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public override void FilterSource(FileModel model)
 {
     PhpFilter.FilterSource(model, phpRanges);
 }
Esempio n. 2
0
 /// <summary>
 /// Called if a FileModel needs filtering
 /// - define inline AS3 ranges
 /// </summary>
 /// <param name="src"></param>
 /// <returns></returns>
 public override string FilterSource(string fileName, string src)
 {
     phpRanges = new List <InlineRange>();
     return(PhpFilter.FilterSource(src, phpRanges));
 }