Exemple #1
0
        public IEnumerable <IStatementHandler> Order(IEnumerable <IStatementHandler> handlers)
        {
            IStatementHandler lastHandler = null;

            foreach (var handler in handlers)
            {
                if (handler is InstanceDeclarationStatementHandler)
                {
                    lastHandler = handler;
                }
                else
                {
                    yield return(handler);
                }
            }

            yield return(lastHandler);
        }
Exemple #2
0
 public static void Parse(StreamReader src, IStatementHandler handler)
 {
 }
 public static void Parse(StreamReader src, IStatementHandler handler)
 {
 }