equal
deleted
inserted
replaced
71 /* path constructors */ |
71 /* path constructors */ |
72 |
72 |
73 val current: Path = new Path(Nil) |
73 val current: Path = new Path(Nil) |
74 val root: Path = new Path(List(Root(""))) |
74 val root: Path = new Path(List(Root(""))) |
75 def named_root(s: String): Path = new Path(List(root_elem(s))) |
75 def named_root(s: String): Path = new Path(List(root_elem(s))) |
|
76 def make(elems: List[String]): Path = new Path(elems.reverse.map(basic_elem(_))) |
76 def basic(s: String): Path = new Path(List(basic_elem(s))) |
77 def basic(s: String): Path = new Path(List(basic_elem(s))) |
77 def variable(s: String): Path = new Path(List(variable_elem(s))) |
78 def variable(s: String): Path = new Path(List(variable_elem(s))) |
78 val parent: Path = new Path(List(Parent)) |
79 val parent: Path = new Path(List(Parent)) |
79 |
80 |
80 |
81 |