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

            foreach (Token t in interior.ToTokens())
            {
                yield return(t);
            }
        }
示例#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);
            }
        }