private IExpression Generate(AbsolutePath path, string type) { if (path.IsValid) { return(new TaggedTemplateExpression( type, m_pathTable.ExpandName(path.Value, m_pathExpander, '/'))); } return(Identifier.CreateUndefined()); }
public static string ToString(this AbsolutePath path, PathTable pathTable, RootExpander expander) { return(pathTable.ExpandName(path.Value, expander)); }