Esempio n. 1
0
        private IExpression Generate(AbsolutePath path, string type)
        {
            if (path.IsValid)
            {
                return(new TaggedTemplateExpression(
                           type,
                           m_pathTable.ExpandName(path.Value, m_pathExpander, '/')));
            }

            return(Identifier.CreateUndefined());
        }
Esempio n. 2
0
 public static string ToString(this AbsolutePath path, PathTable pathTable, RootExpander expander)
 {
     return(pathTable.ExpandName(path.Value, expander));
 }