jif.parse
Class Array
java.lang.Object
jif.parse.Amb
jif.parse.Array
public class Array
- extends Amb
An Array
represents a Amb
of the form "P[]".
This must be an array type, although the base of that type is still ambiguous.
Constructor Summary |
Array(Grm parser,
polyglot.util.Position pos,
polyglot.ast.TypeNode prefix)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Array
public Array(Grm parser,
polyglot.util.Position pos,
polyglot.ast.TypeNode prefix)
toType
public polyglot.ast.TypeNode toType()
- Overrides:
toType
in class Amb
toUnlabeledType
public polyglot.ast.TypeNode toUnlabeledType()
- Overrides:
toUnlabeledType
in class Amb
toReceiver
public polyglot.ast.Receiver toReceiver()
- Overrides:
toReceiver
in class Amb