added missing cases for Star()
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7004 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
6c006448d4
commit
7f701250cb
|
@ -355,6 +355,9 @@ abstract class TreeBrowsers {
|
|||
|
||||
case ArrayValue(elemtpt, trees) =>
|
||||
Pair("ArrayValue", EMPTY);
|
||||
|
||||
case Star(t) =>
|
||||
Pair("Star", EMPTY);
|
||||
}
|
||||
|
||||
/** Return a list of children for the given tree node */
|
||||
|
@ -496,6 +499,9 @@ abstract class TreeBrowsers {
|
|||
|
||||
case EmptyTree =>
|
||||
Nil;
|
||||
|
||||
case Star(t) =>
|
||||
List(t)
|
||||
}
|
||||
|
||||
/** Return a textual representation of this t's symbol */
|
||||
|
|
Loading…
Reference in New Issue