Example #1
0
        public override IEnumerable <Token> ToTokens()
        {
            yield return(myToken);

            foreach (Token t in interior.ToTokens())
            {
                yield return(t);
            }
        }
Example #2
0
        public override IEnumerable <Token> ToTokens()
        {
            foreach (Token t in left.ToTokens())
            {
                yield return(t);
            }
            yield return(op);

            foreach (Token t in right.ToTokens())
            {
                yield return(t);
            }
        }