コード例 #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());
        }
コード例 #2
0
 public static string ToString(this AbsolutePath path, PathTable pathTable, RootExpander expander)
 {
     return(pathTable.ExpandName(path.Value, expander));
 }