Пример #1
0
        public IList <KeyValuePair <string, PathType> > CompileListWithCurrent(TokenzierContext context, int index, out Func <IMorestachioError> errProducer)
        {
            var last = CompileCurrent(context, index, out errProducer);

            if (last == null)
            {
                return(PathParts.GetList());
            }

            if (!(PathParts.Many && last.Value.Value == PathType.SelfAssignment))
            {
                PathParts.Add(last.Value.Key, last.Value.Value);
            }
            return(PathParts.GetList());
        }
Пример #2
0
 public IList <KeyValuePair <string, PathType> > Compile(TokenzierContext context, int index)
 {
     return(PathParts.GetList());
 }