コード例 #1
0
        public IEnumerable <string> Start(HxlValueElement e)
        {
            if (!string.IsNullOrWhiteSpace(e.Format))
            {
                // TODO Support format on value element
                throw new NotImplementedException();
            }

            yield return(string.Format("__self.Write({0});", e.Expression));
        }
コード例 #2
0
 protected virtual void VisitValue(HxlValueElement element)
 {
     DefaultVisit(element);
 }
コード例 #3
0
 void IHxlLanguageVisitor.Visit(HxlValueElement element)
 {
     VisitValue(element);
 }
コード例 #4
0
 public IEnumerable <string> End(HxlValueElement e)
 {
     return(Empty <string> .List);
 }