Beispiel #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);
        }
Beispiel #2
0
 public static void Parse(StreamReader src, IStatementHandler handler)
 {
 }
Beispiel #3
0
 public static void Parse(StreamReader src, IStatementHandler handler)
 {
 }