示例#1
0
文件: LexNode.cs 项目: g1hanna/Stem
        public ILexResult Move(int position)
        {
            LexNode copy = (LexNode)Clone();

            copy.Start = position;

            return(copy);
        }
示例#2
0
文件: LexNode.cs 项目: g1hanna/Stem
 public static IEnumerable <LexNode> WrapSingle(LexNode node)
 {
     return(new LexNode[1] {
         node
     });
 }